From: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx> Fix misspelling of the current --release-canditate to make it the intended --release-candidate. Not because the misspelling itself is so bad, but so the user doesn't have to remember to misspell it to use it ;-) Signed-off-by: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx> --- srt_commit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srt_commit.py b/srt_commit.py index 9752a3f..8260513 100644 --- a/srt_commit.py +++ b/srt_commit.py @@ -114,7 +114,7 @@ def commit(config, rc): def add_argparser(parser): prs = parser.add_parser('commit') - prs.add_argument('--release-canditate', '-r', + prs.add_argument('--release-candidate', '-r', default=None, metavar='N', type=int) return prs @@ -123,4 +123,4 @@ def execute(args, config, ctx): if args.cmd != 'commit': return False - commit(config, args.release_canditate) + commit(config, args.release_candidate) -- 2.14.1