Skip to content

Commit f396933

Browse files
authored
merge(#40): fixes parser tags
fix(parser cli): fixes parser abbreviated tags
2 parents 032b129 + 99d9376 commit f396933

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ def parser_cli():
5555
Required if there's no commiter.yml file.
5656
"""
5757
parser = argparse.ArgumentParser(description=desc)
58-
parser.add_argument("--co-author",
58+
parser.add_argument("-ca", "--co-author",
5959
help="Make your friend an co-author to the commit",
6060
dest="co_author", default='')
61-
parser.add_argument("--no-file", dest="no_file",
61+
parser.add_argument("-nf", "--no-file", dest="no_file",
6262
help="Disables the creation of a commiter.yml file",
6363
action="store_true")
64-
parser.add_argument("--convention", choices=supported_conventions,
64+
parser.add_argument("-c", "--convention", choices=supported_conventions,
6565
dest="convention", default='', help=help_convention)
66-
parser.add_argument('--debug', action="store_true", dest="debug",
66+
parser.add_argument("-d", "--debug", action="store_true", dest="debug",
6767
help="Toggles debug option")
6868
return parser
6969

0 commit comments

Comments
 (0)