appzer0@poopy:/tmp/pkg-systemd$ sudo journalctl -n 10 Failed to add match '10': Argument invalide appzer0@poopy:/tmp/pkg-systemd$ sudo journalctl -n=10 Failed to parse lines '=10' appzer0@poopy:/tmp/pkg-systemd$ sudo journalctl -n=1 Failed to parse lines '=1' appzer0@poopy:/tmp/pkg-systemd$ sudo journalctl -n 1 Failed to add match '1': Argument invalide appzer0@poopy:/tmp/pkg-systemd$ sudo journalctl -n1 # This is OK
Yeah, that's a limitation of getopt_long()'s "optional_argument" parser. Not sure how we can make this work nicely.
OK, found a nice way to deal with this, finally. http://cgit.freedesktop.org/systemd/systemd/commit/?id=96088db02b2802049f1edbd44d5f8c2ea838f3f2
*** Bug 55408 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.