summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/User/_telnet1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 464cfa94b..50c9e3645 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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
  	zprof
 	
diff --git a/Completion/User/_telnet b/Completion/User/_telnet
index 7b88d016a..cee3b276b 100644
--- a/Completion/User/_telnet
+++ b/Completion/User/_telnet
@@ -37,6 +37,7 @@ if (( ! $+_telnet_args )); then
     '*\[-noasynctty\]*' '-noasynctty'
   )
   _telnet_args=($optionmap[(K)"$help"])
+  (( $#_telnet_args )) || _telnet_args=( '-l+[specify user]:user:->users' )
 fi
 
 _arguments -C -s \