Bug 55408

Summary: journalctl -n 100 should be parsed the same way as -n100
Product: systemd Reporter: Oleksii Shevchuk <public.avatar>
Component: generalAssignee: systemd-bugs
Status: RESOLVED DUPLICATE QA Contact: systemd-bugs
Severity: enhancement    
Priority: lowest    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Oleksii Shevchuk 2012-09-28 06:57:42 UTC
# journalctl -n 100
Failed to add match '100': Invalid argument

Should be equal to  journalctl -n100

// systemd -- latest git
Comment 1 Lennart Poettering 2012-10-17 17:19:04 UTC
This appears to be a limitation of getopt()'s support for optional args (i.e. "o::" in the opts string). Not sure what we can do about this.
Comment 2 Lennart Poettering 2013-02-11 23:51:01 UTC

*** This bug has been marked as a duplicate of bug 60596 ***

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.