| 1 | pub(crate) const USAGE_MSG: &str = "usage: visudo [-chqsV] [[-f] sudoers ]"; |
| 2 | |
| 3 | const DESCRIPTOR: &str = "visudo - safely edit the sudoers file"; |
| 4 | |
| 5 | const HELP_MSG: &str = "Options: |
| 6 | -c, --check check-only mode |
| 7 | -f, --file=sudoers specify sudoers file location |
| 8 | -h, --help display help message and exit |
| 9 | -V, --version display version information and exit |
| 10 | "; |
| 11 | |
| 12 | pub(crate) fn long_help_message() -> String { |
| 13 | format!("{USAGE_MSG}\n\n{DESCRIPTOR}\n\n{HELP_MSG}") |
| 14 | } |