1
Fork 0
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:
Daniel Hofstetter 2023-04-03 09:42:03 +02:00 committed by GitHub
commit 0c1feb51ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

7
src/uu/pinky/pinky.md Normal file
View file

@ -0,0 +1,7 @@
# pinky
```
pinky [OPTION]... [USER]...
```
Displays brief user information on Unix-based systems

View file

@ -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";