diff --git a/src/seq.c b/src/seq.c index 27ebc9df0..af2be47c6 100644 --- a/src/seq.c +++ b/src/seq.c @@ -140,6 +140,12 @@ main (int argc, char **argv) } #endif + if (argc == 1) + { + error (0, 0, _("too few arguments")); + usage (1); + } + /* We have to handle negative numbers in the command line but this conflicts with the command line arguments. So explicitly check first whether the next argument looks like a negative number. */