Skip to content

Commit 01ac07f

Browse files
committed
cli: Typo and help text updates
1 parent 2b3f513 commit 01ac07f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/vcspull/cli/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ def create_parser():
2828
"--log-level",
2929
action="store",
3030
default="INFO",
31-
help="Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)",
31+
help="log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)",
3232
)
3333
subparsers = parser.add_subparsers(dest="subparser_name")
34-
sync_parser = subparsers.add_parser("sync")
34+
sync_parser = subparsers.add_parser("sync", help="synchronize repos")
3535
create_sync_subparser(sync_parser)
3636

3737
return parser

src/vcspull/cli/sync.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ def clamp(n, _min, _max):
2121

2222

2323
def create_sync_subparser(parser: argparse.ArgumentParser) -> argparse.ArgumentParser:
24-
parser.add_argument("--config", "-c", help="Specify config")
24+
parser.add_argument("--config", "-c", help="specify config")
2525
parser.add_argument(
2626
"repo_terms",
2727
nargs="+",
28-
help="Filters of repo terms, separated by spaces, supports globs / fnmatch (1)",
28+
help="filters: repo terms, separated by spaces, supports globs / fnmatch (1)",
2929
)
3030
parser.add_argument(
3131
"--exit-on-error",
3232
"-x",
3333
action="store_true",
3434
dest="exit_on_error",
35-
help="Exit immediately when encountering an error syncing multiple repos",
35+
help="exit immediately when encountering an error syncing multiple repos",
3636
)
3737
return parser
3838

0 commit comments

Comments
 (0)