mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 06:42:42 +00:00
readlink: move help strings to markdown file
This commit is contained in:
parent
32d313cdc7
commit
e82ba6e707
2 changed files with 10 additions and 3 deletions
7
src/uu/readlink/readlink.md
Normal file
7
src/uu/readlink/readlink.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# readlink
|
||||
|
||||
```
|
||||
readlink [OPTION]... [FILE]...
|
||||
```
|
||||
|
||||
Print value of a symbolic link or canonical file name.
|
|
@ -14,10 +14,10 @@ use std::path::{Path, PathBuf};
|
|||
use uucore::display::Quotable;
|
||||
use uucore::error::{FromIo, UResult, USimpleError, UUsageError};
|
||||
use uucore::fs::{canonicalize, MissingHandling, ResolveMode};
|
||||
use uucore::{format_usage, show_error};
|
||||
use uucore::{format_usage, show_error, help_about, help_usage};
|
||||
|
||||
const ABOUT: &str = "Print value of a symbolic link or canonical file name.";
|
||||
const USAGE: &str = "{} [OPTION]... [FILE]...";
|
||||
const ABOUT: &str = help_about!("readlink.md");
|
||||
const USAGE: &str = help_usage!("readlink.md");
|
||||
const OPT_CANONICALIZE: &str = "canonicalize";
|
||||
const OPT_CANONICALIZE_MISSING: &str = "canonicalize-missing";
|
||||
const OPT_CANONICALIZE_EXISTING: &str = "canonicalize-existing";
|
||||
|
|
Loading…
Reference in a new issue