mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
nl: move help strings to a markdown file (#4477)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#nl
|
||||
|
||||
```
|
||||
nl [OPTION]... [FILE]...
|
||||
```
|
||||
|
||||
Number lines of files
|
||||
+3
-3
@@ -14,12 +14,12 @@ use std::io::{stdin, BufRead, BufReader, Read};
|
||||
use std::iter::repeat;
|
||||
use std::path::Path;
|
||||
use uucore::error::{FromIo, UResult, USimpleError};
|
||||
use uucore::format_usage;
|
||||
use uucore::{format_usage, help_about, help_usage};
|
||||
|
||||
mod helper;
|
||||
|
||||
static ABOUT: &str = "Number lines of files";
|
||||
static USAGE: &str = "{} [OPTION]... [FILE]...";
|
||||
static ABOUT: &str = help_about!("nl.md");
|
||||
static USAGE: &str = help_usage!("nl.md");
|
||||
|
||||
// Settings store options used by nl to produce its output.
|
||||
pub struct Settings {
|
||||
|
||||
Reference in New Issue
Block a user