ssh-add, ssh-keygen: -? needs to be quoted under failglob (take 2) (Alioth: #314709)
This commit is contained in:
parent
c6ec8f979b
commit
60b8fabec4
@ -12,7 +12,7 @@ _ssh_add()
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ $cur == -* ]]; then
|
if [[ $cur == -* ]]; then
|
||||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-?" )' -- "$cur" ) )
|
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-\?" )' -- "$cur" ) )
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ _ssh_keygen()
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ $cur == -* ]]; then
|
if [[ $cur == -* ]]; then
|
||||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-?" )' -- "$cur" ) )
|
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-\?" )' -- "$cur" ) )
|
||||||
fi
|
fi
|
||||||
} &&
|
} &&
|
||||||
complete -F _ssh_keygen ssh-keygen
|
complete -F _ssh_keygen ssh-keygen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user