mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 15:22:38 +00:00
Merge pull request #4274 from cakebaker/sum_fix_output_of_about_string
sum, unexpand: fix output of about string
This commit is contained in:
commit
74c9abb359
2 changed files with 4 additions and 4 deletions
|
@ -17,8 +17,8 @@ use uucore::{format_usage, show};
|
|||
|
||||
static NAME: &str = "sum";
|
||||
static USAGE: &str = "{} [OPTION]... [FILE]...";
|
||||
static ABOUT: &str = r#"Checksum and count the blocks in a file.
|
||||
With no FILE, or when FILE is -, read standard input."#;
|
||||
static ABOUT: &str = "Checksum and count the blocks in a file.\n\n\
|
||||
With no FILE, or when FILE is -, read standard input.";
|
||||
|
||||
// This can be replaced with usize::div_ceil once it is stabilized.
|
||||
// This implementation approach is optimized for when `b` is a constant,
|
||||
|
|
|
@ -23,8 +23,8 @@ use uucore::{crash, crash_if_err, format_usage};
|
|||
|
||||
static NAME: &str = "unexpand";
|
||||
static USAGE: &str = "{} [OPTION]... [FILE]...";
|
||||
static ABOUT: &str = r#"Convert blanks in each FILE to tabs, writing to standard output.
|
||||
With no FILE, or when FILE is -, read standard input."#;
|
||||
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 DEFAULT_TABSTOP: usize = 8;
|
||||
|
||||
|
|
Loading…
Reference in a new issue