Corrected -su cmdline option to --su to be consistent with the man page entry (#23899)

Signed-off-by: Sumedh Sidhaye <ssidhaye@redhat.com>
This commit is contained in:
Sumedh Sidhaye 2017-04-26 09:56:20 +05:30 committed by scottb
parent d3c006c496
commit be6ca006a2

View file

@ -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")