mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07: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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user