Commit c6e3be45 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added defaults to argparser console output.


Former-commit-id: e1da93a4
parent 83c644db
......@@ -140,7 +140,7 @@ def get_gms_argparser():
gop_p = general_opts_parser.add_argument
gop_p('-jc', '--json_config', nargs='?', type=str,
help='file path of a JSON file containing options. See here for an example:'
help='file path of a JSON file containing options. See here for an example: '
'https://gitext.gfz-potsdam.de/geomultisens/gms_preprocessing/'
'blob/master/gms_preprocessing/options/options_default.json')
......@@ -172,29 +172,34 @@ def get_gms_argparser():
parser_jobid = subparsers.add_parser(
'jobid', parents=[general_opts_parser],
description='Run a GeoMultiSens preprocessing job using an already existing job ID.',
help="Run a GeoMultiSens preprocessing job using an already existing job ID (Sub-Parser).")
help="Run a GeoMultiSens preprocessing job using an already existing job ID (Sub-Parser).",
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser_sceneids = subparsers.add_parser(
'sceneids', parents=[general_opts_parser],
description='Run a GeoMultiSens preprocessing job for a given list of scene IDs.',
help="Run a GeoMultiSens preprocessing job for a given list of scene IDs (Sub-Parser).")
help="Run a GeoMultiSens preprocessing job for a given list of scene IDs (Sub-Parser).",
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser_entityids = subparsers.add_parser(
'entityids', parents=[general_opts_parser],
description='Run a GeoMultiSens preprocessing job for a given list of entity IDs.',
help="Run a GeoMultiSens preprocessing job for a given list of entity IDs (Sub-Parser).")
help="Run a GeoMultiSens preprocessing job for a given list of entity IDs (Sub-Parser).",
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser_filenames = subparsers.add_parser(
'filenames', parents=[general_opts_parser],
description='Run a GeoMultiSens preprocessing job for a given list of filenames of '
'downloaded satellite image archives!',
help="Run a GeoMultiSens preprocessing job for a given list of filenames of downloaded satellite "
"image archives! (Sub-Parser).")
"image archives! (Sub-Parser).",
formatter_class = argparse.ArgumentDefaultsHelpFormatter)
parser_constraints = subparsers.add_parser(
'constraints', parents=[general_opts_parser],
description='Run a GeoMultiSens preprocessing job matching the given constraints.',
help="Run a GeoMultiSens preprocessing job matching the given constraints (Sub-Parser).")
help="Run a GeoMultiSens preprocessing job matching the given constraints (Sub-Parser).",
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
#################
# ADD ARGUMENTS #
......
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