File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
pub const USAGE_MSG : & str = "\
2
2
usage: sudo -h | -K | -k | -V
3
- usage: sudo -v [-BknS ] [-g group] [-u user]
4
- usage: sudo -l [-BknS] [-g group ] [-U user ] [-u user] [command [arg ...] ]
5
- usage: sudo [-BknS] [-D directory ] [-g group] [-u user] [-i | -s ] [command [arg ...]]
6
- usage: sudo -e [-BknS] [-D directory] [-g group] [-u user] file ..." ;
3
+ usage: sudo [-BknS] [-p prompt ] [-D directory] [- g group] [-u user] [-i | -s] [command [arg ...] ]
4
+ usage: sudo -v [-BknS] [-p prompt ] [-g group ] [-u user]
5
+ usage: sudo -l [-BknS] [-p prompt ] [-g group] [-U user] [-u user ] [command [arg ...]]
6
+ usage: sudo -e [-BknS] [-p prompt] [- D directory] [-g group] [-u user] file ..." ;
7
7
8
8
const DESCRIPTOR : & str = "sudo - run commands as another user" ;
9
9
@@ -17,6 +17,7 @@ const HELP_MSG: &str = "Options:
17
17
-k, --reset-timestamp invalidate timestamp file
18
18
-l, --list list user's privileges or check a specific command; use twice for longer format
19
19
-n, --non-interactive non-interactive mode, no prompts are used
20
+ -p, --prompt=prompt use the specified password prompt
20
21
-S, --stdin read password from standard input
21
22
-s, --shell run shell as the target user; a command may also be specified
22
23
-U, --other-user=user in list mode, display privileges for user
You can’t perform that action at this time.
0 commit comments