if backtrack < 0:
backtrack = None
if not silent:
- writemsg("!!! Invalid --backtrack parameter: '%s'\n" % \
- (myoptions.backtrack,), noiselevel=-1)
+ parser.error("Invalid --backtrack parameter: '%s'\n" % \
+ (myoptions.backtrack,))
myoptions.backtrack = backtrack
if deep is not True and deep < 0:
deep = None
if not silent:
- writemsg("!!! Invalid --deep parameter: '%s'\n" % \
- (myoptions.deep,), noiselevel=-1)
+ parser.error("Invalid --deep parameter: '%s'\n" % \
+ (myoptions.deep,))
myoptions.deep = deep
jobs < 1:
jobs = None
if not silent:
- writemsg("!!! Invalid --jobs parameter: '%s'\n" % \
- (myoptions.jobs,), noiselevel=-1)
+ parser.error("Invalid --jobs parameter: '%s'\n" % \
+ (myoptions.jobs,))
myoptions.jobs = jobs
if load_average <= 0.0:
load_average = None
if not silent:
- writemsg("!!! Invalid --load-average parameter: '%s'\n" % \
- (myoptions.load_average,), noiselevel=-1)
+ parser.error("Invalid --load-average parameter: '%s'\n" % \
+ (myoptions.load_average,))
myoptions.load_average = load_average
if rebuilt_binaries_timestamp < 0:
rebuilt_binaries_timestamp = 0
if not silent:
- writemsg("!!! Invalid --rebuilt-binaries-timestamp parameter: '%s'\n" % \
- (myoptions.rebuilt_binaries_timestamp,), noiselevel=-1)
+ parser.error("Invalid --rebuilt-binaries-timestamp parameter: '%s'\n" % \
+ (myoptions.rebuilt_binaries_timestamp,))
myoptions.rebuilt_binaries_timestamp = rebuilt_binaries_timestamp