diff options
Diffstat (limited to 'bash-completion/logger')
-rw-r--r-- | bash-completion/logger | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/bash-completion/logger b/bash-completion/logger index dcbfa9b62..7f7f086ca 100644 --- a/bash-completion/logger +++ b/bash-completion/logger @@ -31,13 +31,38 @@ _logger_module() COMPREPLY=( $(compgen -W "$(awk '$NF ~ /^\// {print $NF}' /proc/net/unix)" -- $cur) ) return 0 ;; + '--msgid') + COMPREPLY=( $(compgen -W "msgid" -- $cur) ) + return 0 + ;; '-h'|'--help'|'-V'|'--version') return 0 ;; esac case $cur in -*) - OPTS="--journald --udp --id --file --help --server --skip-empty --port --priority --rfc3164 --rfc5424 --stderr --tag --size --socket --version" + OPTS=" + --file + --help + --id + --journald + --msgid + --no-act + --octet-count + --port + --prio-prefix + --priority + --rfc3164 + --rfc5424 + --server + --size + --skip-empty + --socket + --stderr + --tag + --udp + --version + " COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) return 0 ;; |