chiark / gitweb /
journalctl: add --system/--user flags
[elogind.git] / shell-completion / bash / journalctl
index 19362ae77b7bfd87936b3b31dc25c05ce7fe69da..5ab59c99404bb468c7761bcbb1bb4b1fa5a747d4 100644 (file)
@@ -38,6 +38,7 @@ _journalctl() {
         local field_vals= cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
         local -A OPTS=(
                 [STANDALONE]='-a --all --full
+                              --system --user
                               -b --this-boot --disk-usage -f --follow --header
                               -h --help -l --local --new-id128 -m --merge --no-pager
                               --no-tail -q --quiet --setup-keys --this-boot --verify