mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Merge pull request #4701 from m11o/pinky-move-strings-to-md-files
pinky: move help strings to markdown file
This commit is contained in:
commit
0c1feb51ff
2 changed files with 10 additions and 3 deletions
7
src/uu/pinky/pinky.md
Normal file
7
src/uu/pinky/pinky.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# pinky
|
||||
|
||||
```
|
||||
pinky [OPTION]... [USER]...
|
||||
```
|
||||
|
||||
Displays brief user information on Unix-based systems
|
|
@ -20,10 +20,10 @@ use std::os::unix::fs::MetadataExt;
|
|||
|
||||
use clap::{crate_version, Arg, ArgAction, Command};
|
||||
use std::path::PathBuf;
|
||||
use uucore::format_usage;
|
||||
use uucore::{format_usage, help_about, help_usage};
|
||||
|
||||
static ABOUT: &str = "Lightweight finger";
|
||||
const USAGE: &str = "{} [OPTION]... [USER]...";
|
||||
const ABOUT: &str = help_about!("pinky.md");
|
||||
const USAGE: &str = help_usage!("pinky.md");
|
||||
|
||||
mod options {
|
||||
pub const LONG_FORMAT: &str = "long_format";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue