mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 07:12:44 +00:00
tac: move help strings to markdown file
This commit is contained in:
parent
8678530095
commit
e0470c0294
2 changed files with 10 additions and 3 deletions
|
@ -19,12 +19,12 @@ use std::{
|
||||||
use uucore::display::Quotable;
|
use uucore::display::Quotable;
|
||||||
use uucore::error::UError;
|
use uucore::error::UError;
|
||||||
use uucore::error::UResult;
|
use uucore::error::UResult;
|
||||||
use uucore::{format_usage, show};
|
use uucore::{format_usage, help_about, help_usage, show};
|
||||||
|
|
||||||
use crate::error::TacError;
|
use crate::error::TacError;
|
||||||
|
|
||||||
static USAGE: &str = "{} [OPTION]... [FILE]...";
|
static USAGE: &str = help_usage!("tac.md");
|
||||||
static ABOUT: &str = "Write each file to standard output, last line first.";
|
static ABOUT: &str = help_about!("tac.md");
|
||||||
|
|
||||||
mod options {
|
mod options {
|
||||||
pub static BEFORE: &str = "before";
|
pub static BEFORE: &str = "before";
|
||||||
|
|
7
src/uu/tac/tac.md
Normal file
7
src/uu/tac/tac.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# tac
|
||||||
|
|
||||||
|
```
|
||||||
|
tac [OPTION]... [FILE]...
|
||||||
|
```
|
||||||
|
|
||||||
|
Write each file to standard output, last line first.
|
Loading…
Reference in a new issue