diff options
Diffstat (limited to 'completions/chrpath')
-rw-r--r-- | completions/chrpath | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/chrpath b/completions/chrpath index 13e43ad0..bcd0f91d 100644 --- a/completions/chrpath +++ b/completions/chrpath @@ -6,17 +6,17 @@ _chrpath() _init_completion || return case $prev in - -v|--version|-h|--help) + --version|--help|-!(-*)[vh]) return ;; - -r|--replace) + --replace|-!(-*)r) _filedir -d return ;; esac if [[ $cur == -* ]]; then - COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) + COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") ) return fi |