From c5da3fd547cae1d5e5eedc9507fe7caadfbfb0d3 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Thu, 19 May 2016 17:52:11 +0100 Subject: [PATCH] Added more info on command line args/flags. --- gprMax/gprMax.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gprMax/gprMax.py b/gprMax/gprMax.py index 5747f66a..17987f1d 100644 --- a/gprMax/gprMax.py +++ b/gprMax/gprMax.py @@ -55,12 +55,12 @@ def main(): parser = argparse.ArgumentParser(prog='gprMax', description='Electromagnetic modelling software based on the Finite-Difference Time-Domain (FDTD) method') parser.add_argument('inputfile', help='path to and name of inputfile') parser.add_argument('-n', default=1, type=int, help='number of times to run the input file') - parser.add_argument('-mpi', action='store_true', default=False, help='switch on MPI task farm') - parser.add_argument('-benchmark', action='store_true', default=False, help='switch on benchmarking mode') - parser.add_argument('--geometry-only', action='store_true', default=False, help='only build model and produce geometry file(s)') - parser.add_argument('--geometry-fixed', action='store_true', default=False, help='do not reprocess model geometry for multiple model runs') - parser.add_argument('--write-processed', action='store_true', default=False, help='write an input file after any Python code and include commands in the original input file have been processed') - parser.add_argument('--opt-taguchi', action='store_true', default=False, help='optimise parameters using the Taguchi optimisation method') + parser.add_argument('-mpi', action='store_true', default=False, help='flag to switch on MPI task farm') + parser.add_argument('-benchmark', action='store_true', default=False, help='flag to switch on benchmarking mode') + parser.add_argument('--geometry-only', action='store_true', default=False, help='flag to only build model and produce geometry file(s)') + parser.add_argument('--geometry-fixed', action='store_true', default=False, help='flag to not reprocess model geometry for multiple model runs') + parser.add_argument('--write-processed', action='store_true', default=False, help='flag to write an input file after any Python code and include commands in the original input file have been processed') + parser.add_argument('--opt-taguchi', action='store_true', default=False, help='flag to optimise parameters using the Taguchi optimisation method') args = parser.parse_args() run_main(args)