[systemd-bugs] [Bug 53582] New: Add more switches to journalctl

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 16 02:43:11 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53582

             Bug #: 53582
           Summary: Add more switches to journalctl
    Classification: Unclassified
           Product: systemd
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: general
        AssignedTo: systemd-bugs at lists.freedesktop.org
        ReportedBy: be.nicolas.michel at gmail.com
         QAContact: systemd-bugs at lists.freedesktop.org


Hello,

Since shell commands are not like coding API, the shorter the better (don't
need to be explicit - switches are never intuitive: you known them otherwise
there's the man). Furthermore, switches are often in 2 version : the longer and
the shorter ones.
So it would be great adding some shortcut to existing features that are really
too much long to type. Exemple:

journalctl -o cat _SYSTEMD_UNIT=syslog-ng.service

which is really too long for the purpose.

As an example, you could add -L (for long) as a shortcut to "-o cat" and -s as
a shortcut for _SYSTEMD_UNIT so the command looks like :

"journalctl -L -s syslog-ng.service" which is really better.

AND it would be great having a shell autocompletion on the service name because
syslog-ng.service is also a bit long to type and I'd want to use the magic TAB
key ;) Currently, there is no shell completion on the targets name for
journalctl.

These are details but the kind ones that can makes journalctl loved by users or
not. Currently I find it a pain for a daily use.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the systemd-bugs mailing list