Debian Codegraph @

src/sudo/cli/help_edit.rs

raw symbols SCIP
1 pub fn usage_msgrust-analyzer cargo sudo-rs 0.2.14 sudo/cli/help_edit/usage_msg().() -> &'static str {
2 xlatrust-analyzer cargo sudo-rs 0.2.14 gettext/xlat!!(
3 "\
4 usage: sudoedit -h | -V
5 usage: sudoedit [-BknS] [-p prompt] [-g group] [-u user] file ..."
6 )
7 }
8
9 fn descriptorrust-analyzer cargo sudo-rs 0.2.14 sudo/cli/help_edit/descriptor().() -> &'static str {
10 xlatrust-analyzer cargo sudo-rs 0.2.14 gettext/xlat!!("sudoedit - edit files as another user")
11 }
12
13 fn help_msgrust-analyzer cargo sudo-rs 0.2.14 sudo/cli/help_edit/help_msg().() -> &'static str {
14 xlatrust-analyzer cargo sudo-rs 0.2.14 gettext/xlat!!(
15 "Options:
16 -B, --bell ring bell when prompting
17 -g, --group=group run command as the specified group name or ID
18 -h, --help display help message and exit
19 -k, --reset-timestamp invalidate timestamp file
20 -n, --non-interactive non-interactive mode, no prompts are used
21 -p, --prompt=prompt use the specified password prompt
22 -S, --stdin read password from standard input
23 -u, --user=user run command (or edit file) as specified user
24 name or ID
25 -V, --version display version information and exit
26 -- stop processing command line arguments"
27 )
28 }
29
30 pub fn long_help_messagerust-analyzer cargo sudo-rs 0.2.14 sudo/cli/help_edit/long_help_message().() -> Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String# {
31 formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("{}\n{}\n{}", descriptorrust-analyzer cargo sudo-rs 0.2.14 sudo/cli/help_edit/descriptor().(), usage_msgrust-analyzer cargo sudo-rs 0.2.14 sudo/cli/help_edit/usage_msg().(), help_msgrust-analyzer cargo sudo-rs 0.2.14 sudo/cli/help_edit/help_msg().())
32 }