mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 07:12:44 +00:00
Merge pull request #4326 from cakebaker/start_about_text_with_uppercase_char
Start about texts with uppercase char
This commit is contained in:
commit
2074f85167
16 changed files with 16 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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...
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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...";
|
||||
|
||||
|
|
|
@ -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]]";
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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]...
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue