mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-29 19:00:57 +02:00
use -l as default for telnet's without -\? option (13674)
This commit is contained in:
parent
873671e368
commit
a132550737
2 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
2001-03-20 Sven Wischnowsky <wischnow@zsh.org>
|
2001-03-20 Sven Wischnowsky <wischnow@zsh.org>
|
||||||
|
|
||||||
|
* 13674: Completion/User/_telnet: use -l as default for telnet's
|
||||||
|
without -\? option
|
||||||
|
|
||||||
* 13673: Src/Modules/zprof.c: fix misaligned percent output of
|
* 13673: Src/Modules/zprof.c: fix misaligned percent output of
|
||||||
zprof
|
zprof
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ if (( ! $+_telnet_args )); then
|
||||||
'*\[-noasynctty\]*' '-noasynctty'
|
'*\[-noasynctty\]*' '-noasynctty'
|
||||||
)
|
)
|
||||||
_telnet_args=($optionmap[(K)"$help"])
|
_telnet_args=($optionmap[(K)"$help"])
|
||||||
|
(( $#_telnet_args )) || _telnet_args=( '-l+[specify user]:user:->users' )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_arguments -C -s \
|
_arguments -C -s \
|
||||||
|
|
Loading…
Reference in a new issue