From 692dc020e161927c1bd15a541e15ccaafd011d11 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Wed, 23 Dec 2009 23:42:07 +0000 Subject: [PATCH] Correct ping(1) usage string (Bug#372, reported by Leith Brandeland --- commands/simple/ping.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]);