1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #2526 from miDeb/sort/usage

sort: remove duplication from usage string
This commit is contained in:
Sylvestre Ledru 2021-07-30 22:45:10 +02:00 committed by GitHub
commit 12dc3db972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -916,9 +916,7 @@ impl FieldSelector {
fn get_usage() -> String { fn get_usage() -> String {
format!( format!(
"{0} "{0} [OPTION]... [FILE]...
Usage:
{0} [OPTION]... [FILE]...
Write the sorted concatenation of all FILE(s) to standard output. Write the sorted concatenation of all FILE(s) to standard output.
Mandatory arguments for long options are mandatory for short options too. Mandatory arguments for long options are mandatory for short options too.
With no FILE, or when FILE is -, read standard input.", With no FILE, or when FILE is -, read standard input.",