@@ -79,7 +79,8 @@ def main(argv=None):
7979 run_parser .add_argument ('hook' , nargs = '?' , help = 'A single hook-id to run' )
8080 run_parser .add_argument (
8181 '--color' , default = 'auto' , type = color .use_color ,
82- help = 'Whether to use color in output. Defaults to `auto`' ,
82+ help = 'Whether to use color in output. Choices are `always`, `never`'
83+ ', or `auto`. Defaults to `auto`.' ,
8384 )
8485 run_parser .add_argument (
8586 '--no-stash' , default = False , action = 'store_true' ,
@@ -90,20 +91,20 @@ def main(argv=None):
9091 )
9192 run_parser .add_argument (
9293 '--origin' , '-o' ,
93- help = 'The origin branch\' s commit_id when using `git push`' ,
94+ help = 'The origin branch\' s commit_id when using `git push`. ' ,
9495 )
9596 run_parser .add_argument (
9697 '--source' , '-s' ,
97- help = 'The remote branch\' s commit_id when using `git push`' ,
98+ help = 'The remote branch\' s commit_id when using `git push`. ' ,
9899 )
99100 run_parser .add_argument (
100101 '--allow-unstaged-config' , default = False , action = 'store_true' ,
101- help = 'Allow an unstaged config to be present. Note that this will'
102- 'be stashed before parsing unless --no-stash is specified'
102+ help = 'Allow an unstaged config to be present. Note that this will '
103+ 'be stashed before parsing unless --no-stash is specified. '
103104 )
104105 run_parser .add_argument (
105106 '--hook-stage' , choices = ('commit' , 'push' ), default = 'commit' ,
106- help = 'The stage during which the hook is fired e.g. commit or push' ,
107+ help = 'The stage during which the hook is fired e.g. commit or push. ' ,
107108 )
108109 run_mutex_group = run_parser .add_mutually_exclusive_group (required = False )
109110 run_mutex_group .add_argument (
0 commit comments