Commit 9dfdbac3 authored by Leo P. Singer's avatar Leo P. 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 < 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