chiark / gitweb /
journalctl: add --list-boots to show boot IDs and times
[elogind.git] / shell-completion / zsh / _journalctl
index 73646b57f5e9eda5091d2770104fd5fdd56d0971..29ff3e34ee604a187b4d0350d082be642c0c1e4b 100644 (file)
@@ -70,6 +70,7 @@ _arguments -s \
     {-q,--quiet}"[Don't show privilege warning]" \
     {-m,--merge}'[Show entries from all available journals]' \
     {-b+,--boot=}'[Show data only from the specified boot or offset]:boot id or offset:_journal_boots' \
+    '--list-boots[List boots ordered by time]' \
     {-k,--dmesg}'[Show only kernel messages, Implies -b]' \
     {-u+,--unit=}'[Show data only from the specified unit]:units:_journal_fields _SYSTEMD_UNIT' \
     '--user-unit=[Show data only from the specified user session unit]:units:_journal_fields USER_UNIT' \