diff options
Diffstat (limited to 'converter/pbm/pbmtoybm.c')
-rw-r--r-- | converter/pbm/pbmtoybm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/pbm/pbmtoybm.c b/converter/pbm/pbmtoybm.c index 7de1b98d..27ce6cb1 100644 --- a/converter/pbm/pbmtoybm.c +++ b/converter/pbm/pbmtoybm.c @@ -53,7 +53,7 @@ main(int argc, const char *argv[]) { else { inputFileName = argv[1]; - if (argc-1 > 2) + if (argc-1 > 1) pm_error("Too many arguments. The only argument is the optional " "input file name"); } |