ssh-add, ssh-keygen: -? needs to be quoted under failglob (take 2) (Alioth: #314709)

master
Igor Murzov 2014-06-10 02:33:54 +04:00
parent c6ec8f979b
commit 60b8fabec4
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ _ssh_add()
esac
if [[ $cur == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-?" )' -- "$cur" ) )
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-\?" )' -- "$cur" ) )
return
fi

View File

@ -40,7 +40,7 @@ _ssh_keygen()
esac
if [[ $cur == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-?" )' -- "$cur" ) )
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-\?" )' -- "$cur" ) )
fi
} &&
complete -F _ssh_keygen ssh-keygen