Compare commits

...

2 Commits

Author SHA1 Message Date
Calum Andrew Morrell 43cb559af2 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	dgcm/cli.py
2023-11-23 16:02:36 +00:00
Calum Andrew Morrell 1204338902 replaced conditional options with subparsers 2023-11-23 16:02:09 +00:00
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,9 @@ def main():
parser_update.add_argument('existing_shortname', help='the existing shortname to update')
group_mutually_exclusive = parser.add_mutually_exclusive_group()
group_mutually_exclusive.add_argument('-v', '--verbose', action='count', default=0, help='increase output verbosity')
group_mutually_exclusive.add_argument('-v', '--verbose',
action='count', default=0,
help='increase output verbosity')
group_mutually_exclusive.add_argument('-q', '--quiet', action='store_true', help='disable output')
args = parser.parse_args()