From e8a7075ae5289df3ef3de972ff10ae9f725f1b45 Mon Sep 17 00:00:00 2001 From: Yan Li Date: Tue, 13 Oct 2020 20:48:00 +1300 Subject: [PATCH] Tweak help messages --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index d9e583d..a161b39 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,13 +57,13 @@ fn main() -> Result<()> { Arg::with_name(cli::FLAG_NAME_TUI_MODE) .short("t") .long("tui") - .help("Show Terminal UI"), + .help("Shows Terminal UI"), ) .arg( Arg::with_name(cli::FLAG_NAME_CODE_POINT_INPUT_MODE) .short("u") .help(&format!( - "Parse {} as comma seperated code points,\n\ + "Parses {} as comma separated code points,\n\ same as '--input-type={}',\n\ ignored if '--input-type' is specified", cli::ARGUMENT_VALUE_NAME_INPUT, @@ -77,7 +77,7 @@ fn main() -> Result<()> { .takes_value(true) .value_name("FORMAT") .help(&format!( - "Specify output format, '{}' by default,\n\ + "Specifies output format, '{}' by default,\n\ valid values: {}, {}", cli::OPTION_VALUE_OUTPUT_FORMAT_TEXT, cli::OPTION_VALUE_OUTPUT_FORMAT_TEXT, @@ -91,7 +91,7 @@ fn main() -> Result<()> { .takes_value(true) .value_name("TYPE") .help(&format!( - "Specify input type, '{}' by default,\n\ + "Specifies input type, '{}' by default,\n\ valid values: {}, {}", cli::OPTION_VALUE_INPUT_TYPE_STRING, cli::OPTION_VALUE_INPUT_TYPE_STRING,