diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2017-11-04 17:29:03 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2017-11-04 17:31:18 +0000 |
commit | 7f619220bf7c85b367f63fa11407da273eb50951 (patch) | |
tree | 9a6d0b57497f3feb5ac8bb431450b049278f3c2a | |
parent | 1bfcff129d27314d2b5b08117a61e67912fafc2d (diff) | |
download | zsh-7f619220bf7c85b367f63fa11407da273eb50951.tar.gz zsh-7f619220bf7c85b367f63fa11407da273eb50951.tar.xz zsh-7f619220bf7c85b367f63fa11407da273eb50951.zip |
unposted: _sshfs: Make the -o option repeatable, accept "--".
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Linux/Command/_sshfs | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index f27845225..cf8b0c7e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-11-04 Daniel Shahaf <d.s@daniel.shahaf.name> + + * unposted: Completion/Linux/Command/_sshfs: Make the -o option + repeatable, accept "--". + 2017-11-04 Oliver Kiddle <opk@zsh.org> * 41983: Src/Zle/computil.c, Test/Y03arguments.ztst: diff --git a/Completion/Linux/Command/_sshfs b/Completion/Linux/Command/_sshfs index fe976288d..6e889cf49 100644 --- a/Completion/Linux/Command/_sshfs +++ b/Completion/Linux/Command/_sshfs @@ -4,13 +4,14 @@ local curcontext="$curcontext" state state_descr line typeset -A opt_args integer ret=1 -_arguments -C \ +# TODO: in the "user@host" argument, the "user@" part should be optional +_arguments -C -S : \ '(-)'{-h,--help}'[display help information]' \ '(-)'{-V,--version}'[display version information]' \ '-p[specify TCP port]:tcp port:_ports' \ '-C[enable compression]' \ '-F[specify ssh config file]:file:_files' \ - '-o[specify mount options]:options:->options' \ + '*-o[specify mount options]:options:->options' \ '(-f)-d[enable debug output]' \ '-f[foreground]' \ '-s[disable multithreaded operation]' \ |