From be6ca006a2ccc70114a5f43777c583e0ac419678 Mon Sep 17 00:00:00 2001 From: Sumedh Sidhaye Date: Wed, 26 Apr 2017 09:56:20 +0530 Subject: [PATCH] Corrected -su cmdline option to --su to be consistent with the man page entry (#23899) Signed-off-by: Sumedh Sidhaye --- lib/ansible/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/cli/__init__.py b/lib/ansible/cli/__init__.py index 8d4819705a2..ce51245b3b3 100644 --- a/lib/ansible/cli/__init__.py +++ b/lib/ansible/cli/__init__.py @@ -254,7 +254,7 @@ class CLI(with_metaclass(ABCMeta, object)): (op.sudo or op.sudo_user) and (op.become or op.become_user)): self.parser.error("Sudo arguments ('--sudo', '--sudo-user', and '--ask-sudo-pass') " - "and su arguments ('-su', '--su-user', and '--ask-su-pass') " + "and su arguments ('--su', '--su-user', and '--ask-su-pass') " "and become arguments ('--become', '--become-user', and '--ask-become-pass')" " are exclusive of each other")