Skip to content

Commit f70da2f

Browse files
committed
shellcheck_run_steps: Use an argparse metavar as help text
I think this explains the whole -- business more clearly. Signed-off-by: dann frazier <dann.frazier@chainguard.dev>
1 parent e6ef91d commit f70da2f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pre_commit_hooks/shellcheck_run_steps.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ def main(argv: Sequence[str] | None = None) -> int:
7171
parser.add_argument(
7272
"filenames",
7373
nargs="*",
74-
help="Filenames to check. You can also pass "
75-
"arguments to shellcheck before a '--' separator.",
74+
metavar="[-- SHELLCHECK ARGS -- ] FILENAMES",
7675
)
7776
parser.add_argument(
7877
"--shellcheck",

0 commit comments

Comments
 (0)