diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2023-10-01 22:20:33 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2023-10-01 22:20:33 +0200 |
commit | 6f47f3fe2a2f07955fb9f9a3e38213bdf8e049eb (patch) | |
tree | 21c6a80e4bdabd6bd6373192b45f85f08fdabd30 | |
parent | 1154471abecfd967dd566160243174fe06973bcf (diff) |
Make capitalization of config options consistent.
-rwxr-xr-x | gis-observation-map | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gis-observation-map b/gis-observation-map index 18d88f6..e9cda7f 100755 --- a/gis-observation-map +++ b/gis-observation-map @@ -86,7 +86,7 @@ parser.add_argument('--project-home', type=ePath, metavar='DIRECTORY', help='Project home directory') parser.add_argument('--project-name', metavar='NAME', help='Project filename (and title) relative to --project-home') -parser.add_argument('--topo-basedir', default=config['QGIS'].get('topo-basedir'), type=ePath, metavar='DIRECTORY', +parser.add_argument('--topo-basedir', default=config['QGIS'].get('Topo-Basedir'), type=ePath, metavar='DIRECTORY', help='Base directory for "Topografi 10", "Topografi 50", etc.') parser_geom = parser.add_argument_group('Geographic area of interest') parser_geom.add_argument('--geometry-style', type=ePath, dest='geometry_style', metavar='STYLE_FILE', @@ -106,7 +106,7 @@ parser_obs.add_argument('--observation-file', type=Path, metavar='NAME', help='Observation file name relative to --project-home') parser_obs.add_argument('--observation-format', metavar='FORMAT', help='Format for the observation file') -parser_obs.add_argument('--observation-style', default=config['QGIS'].get('observation-style'), metavar='STYLE_FILE', type=ePath, +parser_obs.add_argument('--observation-style', default=config['QGIS'].get('ObservationStyle'), metavar='STYLE_FILE', type=ePath, help='QGIS Layer Style File (*.qml) to apply to the observation layer (default: %(default)s)') parser_filter = parser.add_argument_group('Search filter') parser_filter.add_argument('--data-provider', nargs='*', metavar='IDENTIFIER', default=[], |