summaryrefslogtreecommitdiff
path: root/cmd2
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-10-30 19:07:38 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-10-30 19:07:38 -0400
commitb3edff1e51ed6d99e5480969330afce199f23c89 (patch)
tree644f62cb10bea7957f7dac68b627fc1df38c79a0 /cmd2
parent210e4c7e3777102ff3de2f1b6eecd05eeb3e79fd (diff)
downloadcmd2-git-b3edff1e51ed6d99e5480969330afce199f23c89.tar.gz
Fixed warning
Diffstat (limited to 'cmd2')
-rw-r--r--cmd2/cmd2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 5cae2a0f..d90bc195 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -177,6 +177,7 @@ def with_argument_list(*args: List[Callable], preserve_quotes: bool = False) ->
return arg_decorator
+# noinspection PyProtectedMember
def set_parser_prog(parser: argparse.ArgumentParser, prog: str):
"""
Recursively set prog attribute of a parser and all of its subparsers so that the root command