Skip to content

Commit

Permalink
Restored -d short alias for --huddb CLI parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvitaly committed Jun 10, 2022
1 parent 6e83188 commit caf793d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/command-line-arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Actions (required, mutually exclusive):

Options:
* `-h` or `--help` - show help message and exit;
* `-a` or `--huddb` - path to the local HUDs database file;
* `-d` or `--huddb` - path to the local HUDs database file;
* `-o` or `--outdir` - path to the output directory for storing downloaded files.
2 changes: 1 addition & 1 deletion hudman/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __parser_add_arguments(self) -> None:
Add new options to the command-line arguments parser.
"""
common = argparse.ArgumentParser(add_help=False)
common.add_argument('--huddb', '-a', help='Path to the local HUDs database file.', required=True)
common.add_argument('--huddb', '-d', help='Path to the local HUDs database file.', required=True)
common.add_argument('--outdir', '-o', help='Path to the output directory for storing downloaded files.',
required=True)

Expand Down
2 changes: 1 addition & 1 deletion packaging/assets/manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Update all HUDs and download only new files.
#### -h, \-\-help
Show help message and exit.

#### -a, \-\-huddb
#### -d, \-\-huddb
Path to the local HUD database file.

#### -o, \-\-outdir
Expand Down

0 comments on commit caf793d

Please sign in to comment.