Skip to content

Commit

Permalink
Merge pull request #4326 from cakebaker/start_about_text_with_upperca…
Browse files Browse the repository at this point in the history
…se_char

Start about texts with uppercase char
  • Loading branch information
sylvestre committed Feb 7, 2023
2 parents 4b3d57c + ba7a222 commit 2074f85
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/uu/basenc/src/basenc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/uu/chown/src/chown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down
2 changes: 1 addition & 1 deletion src/uu/comm/src/comm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/uu/csplit/src/csplit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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...";

Expand Down
2 changes: 1 addition & 1 deletion src/uu/date/src/date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]]";
Expand Down
2 changes: 1 addition & 1 deletion src/uu/dirname/src/dirname.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/uu/du/src/du.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/uu/echo/src/echo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/uu/ln/src/ln.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/uu/mktemp/src/mktemp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/uu/nl/src/nl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/uu/od/src/od.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]...
Expand Down
2 changes: 1 addition & 1 deletion src/uu/pinky/src/pinky.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/uu/realpath/src/realpath.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/uu/tr/src/tr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/uu/yes/src/yes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2074f85

Please sign in to comment.