Merge pull request #4274 from cakebaker/sum_fix_output_of_about_string

sum, unexpand: fix output of about string
This commit is contained in:
Sylvestre Ledru 2023-01-11 16:33:39 +01:00 committed by GitHub
commit 74c9abb359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -17,8 +17,8 @@ use uucore::{format_usage, show};
static NAME: &str = "sum"; static NAME: &str = "sum";
static USAGE: &str = "{} [OPTION]... [FILE]..."; static USAGE: &str = "{} [OPTION]... [FILE]...";
static ABOUT: &str = r#"Checksum and count the blocks in a file. static ABOUT: &str = "Checksum and count the blocks in a file.\n\n\
With no FILE, or when FILE is -, read standard input."#; With no FILE, or when FILE is -, read standard input.";
// This can be replaced with usize::div_ceil once it is stabilized. // This can be replaced with usize::div_ceil once it is stabilized.
// This implementation approach is optimized for when `b` is a constant, // This implementation approach is optimized for when `b` is a constant,

View file

@ -23,8 +23,8 @@ use uucore::{crash, crash_if_err, format_usage};
static NAME: &str = "unexpand"; static NAME: &str = "unexpand";
static USAGE: &str = "{} [OPTION]... [FILE]..."; static USAGE: &str = "{} [OPTION]... [FILE]...";
static ABOUT: &str = r#"Convert blanks in each FILE to tabs, writing to standard output. 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."#; With no FILE, or when FILE is -, read standard input.";
const DEFAULT_TABSTOP: usize = 8; const DEFAULT_TABSTOP: usize = 8;