mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 15:22:38 +00:00
Merge pull request #4429 from chenchiii/realpath-move-help-strings-to-md-file
realpath: move help strings to markdown file
This commit is contained in:
commit
872f2bd794
2 changed files with 10 additions and 2 deletions
7
src/uu/realpath/realpath.md
Normal file
7
src/uu/realpath/realpath.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# realpath
|
||||
|
||||
```
|
||||
realpath [OPTION]... FILE...
|
||||
```
|
||||
|
||||
Print the resolved path
|
|
@ -20,11 +20,12 @@ use uucore::{
|
|||
error::{FromIo, UResult},
|
||||
format_usage,
|
||||
fs::{canonicalize, MissingHandling, ResolveMode},
|
||||
help_about, help_usage,
|
||||
};
|
||||
use uucore::{error::UClapError, show, show_if_err};
|
||||
|
||||
static ABOUT: &str = "Print the resolved path";
|
||||
const USAGE: &str = "{} [OPTION]... FILE...";
|
||||
static ABOUT: &str = help_about!("realpath.md");
|
||||
const USAGE: &str = help_usage!("realpath.md");
|
||||
|
||||
static OPT_QUIET: &str = "quiet";
|
||||
static OPT_STRIP: &str = "strip";
|
||||
|
|
Loading…
Reference in a new issue