diff options
Diffstat (limited to 'src/shuf.c')
-rw-r--r-- | src/shuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shuf.c b/src/shuf.c index 75211bd4b..9db027c18 100644 --- a/src/shuf.c +++ b/src/shuf.c @@ -501,7 +501,7 @@ main (int argc, char **argv) } if (input_range ? 0 < n_operands : !echo && 1 < n_operands) { - error (0, 0, _("extra operand %s"), quote (operand[1])); + error (0, 0, _("extra operand %s"), quote (operand[!input_range])); usage (EXIT_FAILURE); } |