summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/shuf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/coreutils/shuf.c b/coreutils/shuf.c
index 4b41d5e..fc96351 100644
--- a/coreutils/shuf.c
+++ b/coreutils/shuf.c
@@ -92,6 +92,9 @@ int shuf_main(int argc, char **argv)
char *dash;
unsigned lo, hi;
+ if (argv[0])
+ bb_show_usage();
+
dash = strchr(opt_i_str, '-');
if (!dash) {
bb_error_msg_and_die("bad range '%s'", opt_i_str);