Skip to content

Commit 40413bb

Browse files
committed
reduce chance of dogfooding confusion
1 parent 0cbeccf commit 40413bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shtab/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_main_parser():
2626
)
2727
parser.add_argument("--verbose", dest="loglevel", action="store_const", default=logging.INFO,
2828
const=logging.DEBUG, help="Log debug information")
29-
add_argument_to(parser) # add `--print-completion` option (dogfooding)
29+
add_argument_to(parser, "--print-own-completion", help="print shtab's own completion")
3030
return parser
3131

3232

tests/test_shtab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_main(shell, caplog):
6868
def test_main_self_completion(shell, caplog, capsys):
6969
with caplog.at_level(logging.INFO):
7070
try:
71-
main(["--print-completion", shell])
71+
main(["--print-own-completion", shell])
7272
except SystemExit:
7373
pass
7474

0 commit comments

Comments
 (0)