mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-01 13:37:48 +00:00
seq: move help strings to md file
This commit is contained in:
parent
417d238bba
commit
fd02bd13a1
2 changed files with 13 additions and 6 deletions
9
src/uu/seq/seq.md
Normal file
9
src/uu/seq/seq.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# seq
|
||||
|
||||
Display numbers from FIRST to LAST, in steps of INCREMENT.
|
||||
|
||||
```
|
||||
seq [OPTION]... LAST
|
||||
seq [OPTION]... FIRST LAST
|
||||
seq [OPTION]... FIRST INCREMENT LAST";
|
||||
```
|
|
@ -12,9 +12,9 @@ use num_traits::Zero;
|
|||
|
||||
use uucore::error::FromIo;
|
||||
use uucore::error::UResult;
|
||||
use uucore::format_usage;
|
||||
use uucore::memo::printf;
|
||||
use uucore::show;
|
||||
use uucore::{format_usage, help_about, help_usage};
|
||||
|
||||
mod error;
|
||||
mod extendedbigdecimal;
|
||||
|
@ -27,11 +27,9 @@ use crate::extendedbigint::ExtendedBigInt;
|
|||
use crate::number::Number;
|
||||
use crate::number::PreciseNumber;
|
||||
|
||||
static ABOUT: &str = "Display numbers from FIRST to LAST, in steps of INCREMENT.";
|
||||
const USAGE: &str = "\
|
||||
{} [OPTION]... LAST
|
||||
{} [OPTION]... FIRST LAST
|
||||
{} [OPTION]... FIRST INCREMENT LAST";
|
||||
const ABOUT: &str = help_about!("seq.md");
|
||||
const USAGE: &str = help_usage!("seq.md");
|
||||
|
||||
static OPT_SEPARATOR: &str = "separator";
|
||||
static OPT_TERMINATOR: &str = "terminator";
|
||||
static OPT_WIDTHS: &str = "widths";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue