diff options
Diffstat (limited to 'coreutils/shuf.c')
-rw-r--r-- | coreutils/shuf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coreutils/shuf.c b/coreutils/shuf.c index 4b41d5e71..fc9635147 100644 --- a/coreutils/shuf.c +++ b/coreutils/shuf.c | |||
@@ -92,6 +92,9 @@ int shuf_main(int argc, char **argv) | |||
92 | char *dash; | 92 | char *dash; |
93 | unsigned lo, hi; | 93 | unsigned lo, hi; |
94 | 94 | ||
95 | if (argv[0]) | ||
96 | bb_show_usage(); | ||
97 | |||
95 | dash = strchr(opt_i_str, '-'); | 98 | dash = strchr(opt_i_str, '-'); |
96 | if (!dash) { | 99 | if (!dash) { |
97 | bb_error_msg_and_die("bad range '%s'", opt_i_str); | 100 | bb_error_msg_and_die("bad range '%s'", opt_i_str); |