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:
parent
d3c006c496
commit
be6ca006a2
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ class CLI(with_metaclass(ABCMeta, object)):
|
||||||
(op.sudo or op.sudo_user) and (op.become or op.become_user)):
|
(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') "
|
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')"
|
"and become arguments ('--become', '--become-user', and '--ask-become-pass')"
|
||||||
" are exclusive of each other")
|
" are exclusive of each other")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue