mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
pwd: move help strings to markdown file (#4455)
This commit is contained in:
parent
243fa21ce1
commit
c386b27043
2 changed files with 10 additions and 3 deletions
7
src/uu/pwd/pwd.md
Normal file
7
src/uu/pwd/pwd.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# pwd
|
||||||
|
|
||||||
|
```
|
||||||
|
pwd [OPTION]... [FILE]...
|
||||||
|
```
|
||||||
|
|
||||||
|
Display the full filename of the current working directory.
|
|
@ -10,13 +10,13 @@ use clap::{crate_version, Arg, Command};
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::io;
|
use std::io;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use uucore::format_usage;
|
use uucore::{format_usage, help_about, help_usage};
|
||||||
|
|
||||||
use uucore::display::println_verbatim;
|
use uucore::display::println_verbatim;
|
||||||
use uucore::error::{FromIo, UResult};
|
use uucore::error::{FromIo, UResult};
|
||||||
|
|
||||||
static ABOUT: &str = "Display the full filename of the current working directory.";
|
static ABOUT: &str = help_about!("pwd.md");
|
||||||
const USAGE: &str = "{} [OPTION]... FILE...";
|
const USAGE: &str = help_usage!("pwd.md");
|
||||||
static OPT_LOGICAL: &str = "logical";
|
static OPT_LOGICAL: &str = "logical";
|
||||||
static OPT_PHYSICAL: &str = "physical";
|
static OPT_PHYSICAL: &str = "physical";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue