aha! I figured out why journalctl's auto-pager bugs me when git's doesn't (and possible solution)

Lennart Poettering mzerqung at 0pointer.de
Thu Oct 18 18:30:43 UTC 2012

On Thu, 18.10.12 14:05, Matthew Miller (mattdm at fedoraproject.org) wrote:

>  journalctl  -n500 -f
> (No space allowed after then -n.)

The space thing is really annoying actually. glibc's getopt() insists on
that for options such as "-n" that have an optional argument (i.e. which
appear as "n::" in the opt string). I'd love to fix this if somebody has
an idea to get getopt() to be nice to us here...


Lennart Poettering - Red Hat, Inc.

More information about the devel mailing list