Commit 9dfdbac3 authored by Leo Pound Singer's avatar Leo Pound Singer
Browse files

Validate --jobs command line option

Original: 0d989b013adaf5841bdbcd89482c62cc19efe658
parent 36897f6a
......@@ -58,6 +58,8 @@ if __name__ == '__main__':
fitsfileglobs = args[1:]
except IndexError:
parser.error("not enough command line arguments")
if opts.jobs < 1:
parser.error("invalid value for -j, --jobs: must be >= 1")
outfile = open(opts.output, "w")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment