Skip to content

Commit

Permalink
Short flag -v associated with --verbose, not --version
Browse files Browse the repository at this point in the history
  • Loading branch information
sahasatvik committed Jan 31, 2022
1 parent 3f5264e commit 40c6f00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/welearnbot/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ def setup_parser() -> ArgumentParser:
nargs="*",
help="IDs of the courses to download files from. The word ALL selects everything \nfrom the [courses] section in .welearnrc or welearn.ini",
)
parser.add_argument("-v", "--version", action="version", version="1.2.4")
parser.add_argument("--version", action="version", version="1.2.4")
parser.add_argument(
"-v",
"--verbose",
action="store_true",
help="show verbose warnings/errors",
Expand Down

0 comments on commit 40c6f00

Please sign in to comment.