chiark / gitweb /
journalctl: add option to forgo ellipsization
[elogind.git] / shell-completion / systemd-bash-completion.sh
index 4c8161ff2be001a687d3096367a2c0fda3bafc68..c1b851c24e26880dfbfd7859c83cc3f3cd826579 100644 (file)
@@ -294,10 +294,11 @@ __journal_fields=(MESSAGE{,_ID} PRIORITY CODE_{FILE,LINE,FUNC}
 _journalctl() {
         local field_vals= cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
         local -A OPTS=(
-                [STANDALONE]='-a --all -b --this-boot --disk-usage -f --follow --header
+                [STANDALONE]='-a --all --full
+                              -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
-                              --version'
+                              --version --list-catalog --update-catalog'
                        [ARG]='-D --directory -F --field -o --output -u --unit'
                 [ARGUNKNOWN]='-c --cursor --interval -n --lines -p --priority --since --until
                               --verify-key'