diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-08-03 18:43:13 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-08-03 18:43:13 -0300 |
commit | 95623d39d6029ba78ec96ad5ea08e9ac12629b91 (patch) | |
tree | ea0fe36eb5e6f40e0a1f765d44c4b0c0b2bfb089 /completions/_dmesg | |
parent | 019f3cc463db63abc6460f97deb488deec43840b (diff) | |
download | bash-completion-95623d39d6029ba78ec96ad5ea08e9ac12629b91.tar.gz |
New upstream version 2.11upstream/2.11upstream
Diffstat (limited to 'completions/_dmesg')
-rw-r--r-- | completions/_dmesg | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/completions/_dmesg b/completions/_dmesg index 1dff7db2..83066541 100644 --- a/completions/_dmesg +++ b/completions/_dmesg @@ -11,23 +11,23 @@ _dmesg() _init_completion || return case $prev in - -h|--help|-V|--version|-s|--buffer-size|-M|-N) + -h | --help | -V | --version | -s | --buffer-size | -M | -N) return ;; - -f|--facility) - COMPREPLY=( $(compgen -W 'kern user mail daemon auth syslog lpr - news' -- "$cur") ) + -f | --facility) + COMPREPLY=($(compgen -W 'kern user mail daemon auth syslog lpr + news' -- "$cur")) return ;; - -l|--level|-n|--console-level) - COMPREPLY=( $(compgen -W '{1..8}' -- "$cur") ) + -l | --level | -n | --console-level) + COMPREPLY=($(compgen -W '{1..8}' -- "$cur")) return ;; esac local opts=$(_parse_help "$1") - COMPREPLY=( $(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur") ) + COMPREPLY=($(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur")) } && -complete -F _dmesg dmesg + complete -F _dmesg dmesg # ex: filetype=sh |