]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): When failing because there were `too many arguments,' say so.
authorJim Meyering <jim@meyering.net>
Wed, 14 Feb 1996 05:48:48 +0000 (05:48 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 14 Feb 1996 05:48:48 +0000 (05:48 +0000)
src/who-users.c

index 8a09088c5a5f844c31aa53ecb864bc14c06e471a..ce9553c7221277759191d8e1548393149aa6cfb9 100644 (file)
@@ -614,7 +614,6 @@ main (int argc, char **argv)
 #endif /* WHO */
 
        default:
-         error (0, 0, _("too many arguments"));
          usage (1);
        }
     }
@@ -655,6 +654,7 @@ main (int argc, char **argv)
 #endif /* WHO */
 
     default:                   /* lose */
+      error (0, 0, _("too many arguments"));
       usage (1);
     }