From f11880744c27209a42f502c690db86b38d2db14b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 28 Oct 2013 23:43:57 -0400 Subject: journalctl: add --list-boots to show boot IDs and times Suggested by David Wilkins in https://bugzilla.redhat.com/show_bug.cgi?id=967521: > [Specific boot ID is a] bit of a palaver to obtain. I consulted the > verbose dump of the journal to discover the _BOOT_ID for the > timestamp, and then generated the journal dump for that boot using > journalctl _BOOT_ID=foo -o short-monotonic. --- shell-completion/bash/journalctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell-completion/bash/journalctl') diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl index 3c40d57a9..942a25357 100644 --- a/shell-completion/bash/journalctl +++ b/shell-completion/bash/journalctl @@ -42,7 +42,7 @@ _journalctl() { --disk-usage -f --follow --header -h --help -l --local --new-id128 -m --merge --no-pager --no-tail -q --quiet --setup-keys --this-boot --verify - --version --list-catalog --update-catalog' + --version --list-catalog --update-catalog --list-boots' [ARG]='-b --boot --this-boot -D --directory -F --field -o --output -u --unit --user-unit' [ARGUNKNOWN]='-c --cursor --interval -n --lines -p --priority --since --until -- cgit v1.2.3