mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
rmdir: move help strings to markdown file
This commit is contained in:
parent
6bd42fde6a
commit
ab5d0b6b9d
2 changed files with 10 additions and 3 deletions
7
src/uu/rmdir/rmdir.md
Normal file
7
src/uu/rmdir/rmdir.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# rmdir
|
||||||
|
|
||||||
|
```
|
||||||
|
rmdir [OPTION]... DIRECTORY...
|
||||||
|
```
|
||||||
|
|
||||||
|
Remove the DIRECTORY(ies), if they are empty.
|
|
@ -16,10 +16,10 @@ use std::path::Path;
|
||||||
use uucore::display::Quotable;
|
use uucore::display::Quotable;
|
||||||
use uucore::error::{set_exit_code, strip_errno, UResult};
|
use uucore::error::{set_exit_code, strip_errno, UResult};
|
||||||
|
|
||||||
use uucore::{format_usage, show_error, util_name};
|
use uucore::{format_usage, help_about, help_usage, show_error, util_name};
|
||||||
|
|
||||||
static ABOUT: &str = "Remove the DIRECTORY(ies), if they are empty.";
|
static ABOUT: &str = help_about!("rmdir.md");
|
||||||
const USAGE: &str = "{} [OPTION]... DIRECTORY...";
|
const USAGE: &str = help_usage!("rmdir.md");
|
||||||
static OPT_IGNORE_FAIL_NON_EMPTY: &str = "ignore-fail-on-non-empty";
|
static OPT_IGNORE_FAIL_NON_EMPTY: &str = "ignore-fail-on-non-empty";
|
||||||
static OPT_PARENTS: &str = "parents";
|
static OPT_PARENTS: &str = "parents";
|
||||||
static OPT_VERBOSE: &str = "verbose";
|
static OPT_VERBOSE: &str = "verbose";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue