From: David van Moolenbroek Date: Wed, 23 Dec 2009 23:42:07 +0000 (+0000) Subject: Correct ping(1) usage string (Bug#372, reported by Leith Brandeland X-Git-Tag: v3.1.6~134 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=692dc020e161927c1bd15a541e15ccaafd011d11;p=minix.git Correct ping(1) usage string (Bug#372, reported by Leith Brandeland --- diff --git a/commands/simple/ping.c b/commands/simple/ping.c index 65e2be4e7..de6c66c00 100644 --- a/commands/simple/ping.c +++ b/commands/simple/ping.c @@ -54,8 +54,7 @@ char *argv[]; if (argc<2 || argc>3) { - fprintf(stderr, "Usage: %s hostname [-l length] [-t timeout]\n", - argv[0]); + fprintf(stderr, "Usage: %s hostname [length]\n", argv[0]); exit(1); } hostent= gethostbyname(argv[1]);