summary refs log tree commit diff
path: root/Functions/TCP/tcp_shoot
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2015-10-03 00:04:09 +0200
committerMikael Magnusson <mikachu@gmail.com>2015-10-03 00:05:40 +0200
commit64061e504fe9145c34911622a9fec6ec43869cea (patch)
tree3e4787e1e59db4ca4233e81050ac279f9d4560aa /Functions/TCP/tcp_shoot
parent0626be9e3c02ca9171cd4e0975c208e0c3d6ec2b (diff)
downloadzsh-64061e504fe9145c34911622a9fec6ec43869cea.tar.gz
zsh-64061e504fe9145c34911622a9fec6ec43869cea.tar.xz
zsh-64061e504fe9145c34911622a9fec6ec43869cea.zip
36754: Functions/TCP: Tweak some usage output in the tcp_* functions
Diffstat (limited to 'Functions/TCP/tcp_shoot')
-rw-r--r--Functions/TCP/tcp_shoot4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/TCP/tcp_shoot b/Functions/TCP/tcp_shoot
index 8ff9866ba..c485c140a 100644
--- a/Functions/TCP/tcp_shoot
+++ b/Functions/TCP/tcp_shoot
@@ -4,8 +4,8 @@ setopt extendedglob
 local REPLY tfd
 
 if [[ $# -ne 2 ]]; then
-    print "Usage: tcp_dump host port
-Connect to the given host and port; send standard input.">&2
+    print "Usage: $0 host port
+Connect to the given host and port; send standard input." >&2
     return 1
 fi