mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
unposted: _sshfs: Make the -o option repeatable, accept "--".
This commit is contained in:
parent
1bfcff129d
commit
7f619220bf
2 changed files with 8 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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]' \
|
||||
|
|
Loading…
Reference in a new issue