summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-02-14 05:48:48 +0000
committerJim Meyering <jim@meyering.net>1996-02-14 05:48:48 +0000
commitdd050291351ede51c33fd594b4bdc12789aedd2b (patch)
tree091789ce4f148547ff6eb7a828746ecb5a6f079e
parent78362fb43a66d4caee12e0fb899f98d44a113e60 (diff)
downloadcoreutils-dd050291351ede51c33fd594b4bdc12789aedd2b.tar.xz
(main): When failing because there were `too many arguments,' say so.
-rw-r--r--src/who-users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/who-users.c b/src/who-users.c
index 8a09088c5..ce9553c72 100644
--- a/src/who-users.c
+++ b/src/who-users.c
@@ -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);
}