Skip to content

Commit caa7865

Browse files
committed
Removed extra new line in error message
1 parent d3deca3 commit caa7865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd2/argparse_completer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def update_mutex_groups(arg_action: argparse.Action) -> None:
231231
if arg_action == completer_action:
232232
return
233233

234-
error = ("Error: argument {}: not allowed with argument {}\n".
234+
error = ("Error: argument {}: not allowed with argument {}".
235235
format(argparse._get_action_name(arg_action),
236236
argparse._get_action_name(completer_action)))
237237
raise CompletionError(error)

0 commit comments

Comments
 (0)