]> Zhao Yanbai Git Server - minix.git/commitdiff
Correct ping(1) usage string (Bug#372, reported by Leith Brandeland
authorDavid van Moolenbroek <david@minix3.org>
Wed, 23 Dec 2009 23:42:07 +0000 (23:42 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Wed, 23 Dec 2009 23:42:07 +0000 (23:42 +0000)
commands/simple/ping.c

index 65e2be4e7172c0f17a1d4c490db86753df868f54..de6c66c008b02fd83f601e1ec1de760a9cee1bd9 100644 (file)
@@ -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]);