Skip to content

Commit de58200

Browse files
committed
Updated constructor arguments
1 parent bd04bf2 commit de58200

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd2/argparse_completer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ def __init__(self,
200200
:param arg_choices: dictionary mapping from argparse argument 'dest' name to list of choices
201201
:param subcmd_args_lookup: mapping a sub-command group name to a tuple to fill the child\
202202
AutoCompleter's arg_choices and subcmd_args_lookup parameters
203+
:param tab_for_arg_help: Enable of disable argument help when there's no completion result
204+
:param cmd2_app: reference to the Cmd2 application. Enables argparse argument completion with class methods
203205
"""
204206
if not subcmd_args_lookup:
205207
subcmd_args_lookup = {}

0 commit comments

Comments
 (0)