Skip to content

Commit

Permalink
wam: Use a tuple for the --change-passphrase argument's metavar
Browse files Browse the repository at this point in the history
Fixes its help entry looking like this:

>  --change-passphrase ADD-ON OLD NEW ADD-ON OLD NEW ADD-ON OLD NEW
>                        Change the passphrase for ADD-ON from OLD to NEW

When it really should look like this:

>  --change-passphrase ADD-ON OLD NEW
>                        Change the passphrase for ADD-ON from OLD to NEW
  • Loading branch information
irydacea committed Jun 12, 2014
1 parent 7fff3c7 commit 3b9260d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/tools/wesnoth_addon_manager
Expand Up @@ -87,7 +87,7 @@ if __name__ == "__main__":
help="unpack the file UNPACK as a binary WML packet " +
"(specify the add-on path with -c)")
argumentparser.add_argument("--change-passphrase", nargs=3,
metavar="ADD-ON OLD NEW",
metavar=("ADD-ON","OLD","NEW"),
help="Change the passphrase for ADD-ON from OLD to NEW")
args = argumentparser.parse_args()

Expand Down

0 comments on commit 3b9260d

Please sign in to comment.