Skip to content

Commit 1c3bcd8

Browse files
committed
fix(cli) sync: Fix command help descriptions
1 parent c0cdf89 commit 1c3bcd8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/vcspull/cli/sync.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,17 @@ def clamp(n, _min, _max):
2222

2323
def create_sync_subparser(parser: argparse.ArgumentParser) -> argparse.ArgumentParser:
2424
parser.add_argument("--config", "-c", help="Specify config")
25-
parser.add_argument("repo_terms", nargs="+", help="Specify config")
25+
parser.add_argument(
26+
"repo_terms",
27+
nargs="+",
28+
help="Filters of repo terms, separated by spaces, supports globs / fnmatch (1)",
29+
)
2630
parser.add_argument(
2731
"--exit-on-error",
2832
"-x",
2933
action="store_true",
3034
dest="exit_on_error",
31-
help="Specify config",
35+
help="Exit immediately when encountering an error syncing multiple repos",
3236
)
3337
return parser
3438

0 commit comments

Comments
 (0)