From ba7a222a55a6d121cfff9bb009a37b4fc07d154a Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Tue, 7 Feb 2023 14:54:25 +0100 Subject: [PATCH] Start about texts with uppercase char --- src/uu/basenc/src/basenc.rs | 2 +- src/uu/chown/src/chown.rs | 2 +- src/uu/comm/src/comm.rs | 2 +- src/uu/csplit/src/csplit.rs | 2 +- src/uu/date/src/date.rs | 2 +- src/uu/dirname/src/dirname.rs | 2 +- src/uu/du/src/du.rs | 2 +- src/uu/echo/src/echo.rs | 2 +- src/uu/ln/src/ln.rs | 2 +- src/uu/mktemp/src/mktemp.rs | 2 +- src/uu/nl/src/nl.rs | 2 +- src/uu/od/src/od.rs | 2 +- src/uu/pinky/src/pinky.rs | 2 +- src/uu/realpath/src/realpath.rs | 2 +- src/uu/tr/src/tr.rs | 2 +- src/uu/yes/src/yes.rs | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/uu/basenc/src/basenc.rs b/src/uu/basenc/src/basenc.rs index cb9e38879e..1bc2aae444 100644 --- a/src/uu/basenc/src/basenc.rs +++ b/src/uu/basenc/src/basenc.rs @@ -20,7 +20,7 @@ use std::io::{stdin, Read}; use uucore::error::UClapError; static ABOUT: &str = "\ -encode/decode data and print to standard output +Encode/decode data and print to standard output With no FILE, or when FILE is -, read standard input. When decoding, the input may contain newlines in addition to the bytes of diff --git a/src/uu/chown/src/chown.rs b/src/uu/chown/src/chown.rs index b2a0dcd857..401703cdf3 100644 --- a/src/uu/chown/src/chown.rs +++ b/src/uu/chown/src/chown.rs @@ -19,7 +19,7 @@ use clap::{crate_version, Arg, ArgAction, ArgMatches, Command}; use std::fs; use std::os::unix::fs::MetadataExt; -static ABOUT: &str = "change file owner and group"; +static ABOUT: &str = "Change file owner and group"; const USAGE: &str = "\ {} [OPTION]... [OWNER][:[GROUP]] FILE... diff --git a/src/uu/comm/src/comm.rs b/src/uu/comm/src/comm.rs index b91f9ddbcb..1ed94cc3e6 100644 --- a/src/uu/comm/src/comm.rs +++ b/src/uu/comm/src/comm.rs @@ -17,7 +17,7 @@ use uucore::format_usage; use clap::{crate_version, Arg, ArgAction, ArgMatches, Command}; -static ABOUT: &str = "compare two sorted files line by line"; +static ABOUT: &str = "Compare two sorted files line by line"; static LONG_HELP: &str = ""; const USAGE: &str = "{} [OPTION]... FILE1 FILE2"; diff --git a/src/uu/csplit/src/csplit.rs b/src/uu/csplit/src/csplit.rs index 5e38496873..85df5eb281 100644 --- a/src/uu/csplit/src/csplit.rs +++ b/src/uu/csplit/src/csplit.rs @@ -22,7 +22,7 @@ mod split_name; use crate::csplit_error::CsplitError; use crate::split_name::SplitName; -static ABOUT: &str = "split a file into sections determined by context lines"; +static ABOUT: &str = "Split a file into sections determined by context lines"; static LONG_HELP: &str = "Output pieces of FILE separated by PATTERN(s) to files 'xx00', 'xx01', ..., and output byte counts of each piece to standard output."; const USAGE: &str = "{} [OPTION]... FILE PATTERN..."; diff --git a/src/uu/date/src/date.rs b/src/uu/date/src/date.rs index e02d91f1be..f433ce73da 100644 --- a/src/uu/date/src/date.rs +++ b/src/uu/date/src/date.rs @@ -36,7 +36,7 @@ const MINUTE: &str = "minute"; const SECOND: &str = "second"; const NS: &str = "ns"; -const ABOUT: &str = "print or set the system date and time"; +const ABOUT: &str = "Print or set the system date and time"; const USAGE: &str = "\ {} [OPTION]... [+FORMAT]... {} [OPTION]... [MMDDhhmm[[CC]YY][.ss]]"; diff --git a/src/uu/dirname/src/dirname.rs b/src/uu/dirname/src/dirname.rs index 99495f88db..b53f6135a6 100644 --- a/src/uu/dirname/src/dirname.rs +++ b/src/uu/dirname/src/dirname.rs @@ -11,7 +11,7 @@ use uucore::display::print_verbatim; use uucore::error::{UResult, UUsageError}; use uucore::format_usage; -static ABOUT: &str = "strip last component from file name"; +static ABOUT: &str = "Strip last component from file name"; const USAGE: &str = "{} [OPTION] NAME..."; mod options { diff --git a/src/uu/du/src/du.rs b/src/uu/du/src/du.rs index 9d1bb776f4..a204adf4d7 100644 --- a/src/uu/du/src/du.rs +++ b/src/uu/du/src/du.rs @@ -73,7 +73,7 @@ mod options { pub const FILE: &str = "FILE"; } -const ABOUT: &str = "estimate file space usage"; +const ABOUT: &str = "Estimate file space usage"; const LONG_HELP: &str = " Display values are in units of the first available SIZE from --block-size, and the DU_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables. diff --git a/src/uu/echo/src/echo.rs b/src/uu/echo/src/echo.rs index e6608682ba..6c6959affd 100644 --- a/src/uu/echo/src/echo.rs +++ b/src/uu/echo/src/echo.rs @@ -13,7 +13,7 @@ use std::str::Chars; use uucore::error::{FromIo, UResult}; use uucore::format_usage; -const ABOUT: &str = "display a line of text"; +const ABOUT: &str = "Display a line of text"; const USAGE: &str = "{} [OPTIONS]... [STRING]..."; const AFTER_HELP: &str = r#" Echo the STRING(s) to standard output. diff --git a/src/uu/ln/src/ln.rs b/src/uu/ln/src/ln.rs index 55bc34f8a7..69d1c2032b 100644 --- a/src/uu/ln/src/ln.rs +++ b/src/uu/ln/src/ln.rs @@ -99,7 +99,7 @@ fn long_usage() -> String { ) } -static ABOUT: &str = "change file owner and group"; +static ABOUT: &str = "Change file owner and group"; const USAGE: &str = "\ {} [OPTION]... [-T] TARGET LINK_NAME {} [OPTION]... TARGET diff --git a/src/uu/mktemp/src/mktemp.rs b/src/uu/mktemp/src/mktemp.rs index d8056ffce8..390c77bfaf 100644 --- a/src/uu/mktemp/src/mktemp.rs +++ b/src/uu/mktemp/src/mktemp.rs @@ -28,7 +28,7 @@ use std::os::unix::prelude::PermissionsExt; use rand::Rng; use tempfile::Builder; -static ABOUT: &str = "create a temporary file or directory."; +static ABOUT: &str = "Create a temporary file or directory."; const USAGE: &str = "{} [OPTION]... [TEMPLATE]"; static DEFAULT_TEMPLATE: &str = "tmp.XXXXXXXXXX"; diff --git a/src/uu/nl/src/nl.rs b/src/uu/nl/src/nl.rs index 6243bef8df..54d0cfea9b 100644 --- a/src/uu/nl/src/nl.rs +++ b/src/uu/nl/src/nl.rs @@ -18,7 +18,7 @@ use uucore::format_usage; mod helper; -static ABOUT: &str = "number lines of files"; +static ABOUT: &str = "Number lines of files"; static USAGE: &str = "{} [OPTION]... [FILE]..."; // Settings store options used by nl to produce its output. diff --git a/src/uu/od/src/od.rs b/src/uu/od/src/od.rs index 77480cb381..ebcaa50ba2 100644 --- a/src/uu/od/src/od.rs +++ b/src/uu/od/src/od.rs @@ -50,7 +50,7 @@ use uucore::show_error; use uucore::show_warning; const PEEK_BUFFER_SIZE: usize = 4; // utf-8 can be 4 bytes -static ABOUT: &str = "dump files in octal and other formats"; +static ABOUT: &str = "Dump files in octal and other formats"; static USAGE: &str = "\ {} [OPTION]... [--] [FILENAME]... diff --git a/src/uu/pinky/src/pinky.rs b/src/uu/pinky/src/pinky.rs index 8060565e4c..7e21fba9ea 100644 --- a/src/uu/pinky/src/pinky.rs +++ b/src/uu/pinky/src/pinky.rs @@ -22,7 +22,7 @@ use clap::{crate_version, Arg, ArgAction, Command}; use std::path::PathBuf; use uucore::format_usage; -static ABOUT: &str = "lightweight finger"; +static ABOUT: &str = "Lightweight finger"; const USAGE: &str = "{} [OPTION]... [USER]..."; mod options { diff --git a/src/uu/realpath/src/realpath.rs b/src/uu/realpath/src/realpath.rs index 7b8ac9e38d..1a6d427906 100644 --- a/src/uu/realpath/src/realpath.rs +++ b/src/uu/realpath/src/realpath.rs @@ -23,7 +23,7 @@ use uucore::{ }; use uucore::{error::UClapError, show, show_if_err}; -static ABOUT: &str = "print the resolved path"; +static ABOUT: &str = "Print the resolved path"; const USAGE: &str = "{} [OPTION]... FILE..."; static OPT_QUIET: &str = "quiet"; diff --git a/src/uu/tr/src/tr.rs b/src/uu/tr/src/tr.rs index 8ca128a099..d63f8bced2 100644 --- a/src/uu/tr/src/tr.rs +++ b/src/uu/tr/src/tr.rs @@ -19,7 +19,7 @@ use crate::operation::DeleteOperation; use uucore::display::Quotable; use uucore::error::{UResult, USimpleError, UUsageError}; -static ABOUT: &str = "translate or delete characters"; +static ABOUT: &str = "Translate or delete characters"; const USAGE: &str = "{} [OPTION]... SET1 [SET2]"; mod options { diff --git a/src/uu/yes/src/yes.rs b/src/uu/yes/src/yes.rs index 09d4e5955c..22ccebab2e 100644 --- a/src/uu/yes/src/yes.rs +++ b/src/uu/yes/src/yes.rs @@ -17,7 +17,7 @@ use uucore::format_usage; #[cfg(any(target_os = "linux", target_os = "android"))] mod splice; -const ABOUT: &str = "repeatedly display a line with STRING (or 'y')"; +const ABOUT: &str = "Repeatedly display a line with STRING (or 'y')"; const USAGE: &str = "{} [STRING]..."; // it's possible that using a smaller or larger buffer might provide better performance on some