From 64061e504fe9145c34911622a9fec6ec43869cea Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 3 Oct 2015 00:04:09 +0200 Subject: 36754: Functions/TCP: Tweak some usage output in the tcp_* functions --- Functions/TCP/tcp_shoot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions/TCP/tcp_shoot') 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 -- cgit v1.2.3