We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8043b56 commit 1f54b1aCopy full SHA for 1f54b1a
cmd2/argparse_completer.py
@@ -185,10 +185,9 @@ def update_mutex_groups(arg_action: argparse.Action) -> bool:
185
186
# Check if the group this action belongs to has already been completed
187
if group in completed_mutex_groups:
188
- group_action = completed_mutex_groups[group]
189
error = style_error("\nError: argument {}: not allowed with argument {}\n".
190
format(argparse._get_action_name(arg_action),
191
- argparse._get_action_name(group_action)))
+ argparse._get_action_name(completed_mutex_groups[group])))
192
self._print_message(error)
193
return False
194
0 commit comments