Skip to content

Commit f0352bf

Browse files
committed
Update autoupdate help message.
1 parent bba24b6 commit f0352bf

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

pre_commit/main.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def main(argv=None):
3030
subparsers = parser.add_subparsers(dest='command')
3131

3232
install_parser = subparsers.add_parser(
33-
'install', help='Intall the pre-commit script.',
33+
'install', help='Install the pre-commit script.',
3434
)
3535
install_parser.add_argument(
3636
'-f', '--overwrite', action='store_true',
@@ -48,7 +48,10 @@ def main(argv=None):
4848

4949
subparsers.add_parser('clean', help='Clean out pre-commit files.')
5050

51-
subparsers.add_parser('autoupdate', help='Auto-update hooks config.')
51+
subparsers.add_parser(
52+
'autoupdate',
53+
help="Auto-update pre-commit config to the latest repos' versions.",
54+
)
5255

5356
run_parser = subparsers.add_parser('run', help='Run hooks.')
5457
run_parser.add_argument('hook', nargs='?', help='A single hook-id to run')

0 commit comments

Comments
 (0)