]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/journal/journalctl.c
journalctl: remove ":" from the --boot syntax
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 16 Jul 2013 19:56:22 +0000 (15:56 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 18 Jul 2013 03:41:10 +0000 (23:41 -0400)
commitd121b396ccb19dc33aacfc75a7f7a719914267c8
tree8ad223e9d016159116503d87956add7b9fd2113c
parentaffba8e90243526be673ad9f9b306a740b8824a6
journalctl: remove ":" from the --boot syntax

Instead of :-0, :1, :5, etc., use -0, 1 or +1, 5, etc. For BOOT_ID+OFFSET,
use BOOT_ID+offset or BOOT_ID-offset (either + or - is required).

Also make error handling a bit more robust and verbose.
Modify the man page to describe the most common case (-b) first,
and the second most common case (-b -1) second.
man/journalctl.xml
src/journal/journalctl.c