mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
unexpand: move help strings to markdown file
This commit is contained in:
parent
0c1feb51ff
commit
f920d44e62
2 changed files with 11 additions and 4 deletions
|
@ -19,11 +19,10 @@ use std::str::from_utf8;
|
|||
use unicode_width::UnicodeWidthChar;
|
||||
use uucore::display::Quotable;
|
||||
use uucore::error::{FromIo, UError, UResult};
|
||||
use uucore::{crash, crash_if_err, format_usage};
|
||||
use uucore::{crash, crash_if_err, format_usage, help_about, help_usage};
|
||||
|
||||
static USAGE: &str = "{} [OPTION]... [FILE]...";
|
||||
static ABOUT: &str = "Convert blanks in each FILE to tabs, writing to standard output.\n\n\
|
||||
With no FILE, or when FILE is -, read standard input.";
|
||||
const USAGE: &str = help_usage!("unexpand.md");
|
||||
const ABOUT: &str = help_about!("unexpand.md");
|
||||
|
||||
const DEFAULT_TABSTOP: usize = 8;
|
||||
|
||||
|
|
8
src/uu/unexpand/unexpand.md
Normal file
8
src/uu/unexpand/unexpand.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# unexpand
|
||||
|
||||
```
|
||||
unexpand [OPTION]... [FILE]...
|
||||
```
|
||||
|
||||
Convert blanks in each `FILE` to tabs, writing to standard output.
|
||||
With no `FILE`, or when `FILE` is `-`, read standard input.
|
Loading…
Reference in a new issue