Skip to content

Commit

Permalink
Add key=value required parameter to argparse help.
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-drews committed Jul 13, 2024
1 parent ff332ca commit 0b3989e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/acom_music_box/music_box_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def getArgsDictionary(argPairs):
'key_value_pairs',
nargs='+', # This means one or more arguments are expected
action=KeyValueAction,
help='Arguments in key=value format'
help="Arguments in key=value format. Example: configFile=my_config.json"
)

argDict = vars(parser.parse_args(argPairs)) # return dictionary
Expand Down

0 comments on commit 0b3989e

Please sign in to comment.