mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
printenv: move help strings to markdown file
This commit is contained in:
parent
9f8cd4a7eb
commit
e3d501fca1
2 changed files with 10 additions and 3 deletions
7
src/uu/printenv/printenv.md
Normal file
7
src/uu/printenv/printenv.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# printenv
|
||||
|
||||
```
|
||||
printenv [VARIABLE]... [OPTION]...
|
||||
```
|
||||
|
||||
Display the values of the specified environment VARIABLE(s), or (with no VARIABLE) display name and value pairs for them all.
|
|
@ -9,10 +9,10 @@
|
|||
|
||||
use clap::{crate_version, Arg, ArgAction, Command};
|
||||
use std::env;
|
||||
use uucore::{error::UResult, format_usage};
|
||||
use uucore::{error::UResult, format_usage, help_about, help_usage};
|
||||
|
||||
static ABOUT: &str = "Display the values of the specified environment VARIABLE(s), or (with no VARIABLE) display name and value pairs for them all.";
|
||||
const USAGE: &str = "{} [VARIABLE]... [OPTION]...";
|
||||
const ABOUT: &str = help_about!("printenv.md");
|
||||
const USAGE: &str = help_usage!("printenv.md");
|
||||
|
||||
static OPT_NULL: &str = "null";
|
||||
|
||||
|
|
Loading…
Reference in a new issue