diff options
author | David Paleino <dapal@debian.org> | 2013-11-04 17:58:57 +0100 |
---|---|---|
committer | David Paleino <dapal@debian.org> | 2013-11-04 17:58:57 +0100 |
commit | 059a87a5936cfebfd2d71ab8057002cafb2ea051 (patch) | |
tree | 7fafa4bb39a443ba4d49fccc852193adfea93564 /completions/dmesg | |
parent | 30649a02707d24744853f84946f744fdcf7c2757 (diff) | |
download | bash-completion-059a87a5936cfebfd2d71ab8057002cafb2ea051.tar.gz |
Imported Upstream version 2.1upstream/2.1
Diffstat (limited to 'completions/dmesg')
-rw-r--r-- | completions/dmesg | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/completions/dmesg b/completions/dmesg index 7d73bf3a..3d9bc662 100644 --- a/completions/dmesg +++ b/completions/dmesg @@ -22,12 +22,9 @@ _dmesg() ;; esac - if [[ $cur == -* ]]; then - local opts=$( _parse_help "$1" ) - [[ $opts ]] || opts=$( _parse_usage "$1" ) - COMPREPLY=( $( compgen -W "$opts" -- "$cur" ) ) - return - fi + local opts=$( _parse_help "$1" ) + [[ $opts ]] || opts=$( _parse_usage "$1" ) + COMPREPLY=( $( compgen -W "$opts" -- "$cur" ) ) } && complete -F _dmesg dmesg |