# HG changeset patch # User Nicolas Saunier # Date 1322081862 18000 # Node ID 42142c5223ce693a031c8ef53b56647f071b0ea7 # Parent 3a4eef37384f629b8455d69b5676f61c02d2bdb3 minor error management addition diff -r 3a4eef37384f -r 42142c5223ce python/utils.py --- a/python/utils.py Tue Nov 01 00:12:33 2011 -0400 +++ b/python/utils.py Wed Nov 23 15:57:42 2011 -0500 @@ -31,7 +31,9 @@ optionValues = dict(optionValues) if '--help' in optionValues.keys() or '-h' in optionValues.keys(): - print(helpMessage) + print(helpMessage+ + '\n - Compulsory options: '+' '.join([opt.replace('=','') for opt in options])+ + '\n - Non-compulsory options: '+' '.join([opt.replace('=','') for opt in optionalOptions])) sys.exit() missingArgument = [('--'+opt.replace('=','') in optionValues.keys()) for opt in options]