mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #4551 from piotrkwiecinski/expand-move-strings-to-md-files
expand: move help strings to markdown file
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# expand
|
||||
|
||||
```
|
||||
expand [OPTION]... [FILE]...
|
||||
```
|
||||
|
||||
Convert tabs in each `FILE` to spaces, writing to standard output.
|
||||
With no `FILE`, or when `FILE` is `-`, read standard input.
|
||||
@@ -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, format_usage};
|
||||
use uucore::{crash, format_usage, help_about, help_usage};
|
||||
|
||||
static ABOUT: &str = "Convert tabs in each FILE to spaces, writing to standard output.
|
||||
With no FILE, or when FILE is -, read standard input.";
|
||||
const USAGE: &str = "{} [OPTION]... [FILE]...";
|
||||
const ABOUT: &str = help_about!("expand.md");
|
||||
const USAGE: &str = help_usage!("expand.md");
|
||||
|
||||
pub mod options {
|
||||
pub static TABS: &str = "tabs";
|
||||
|
||||
Reference in New Issue
Block a user