Skip to content

Commit

Permalink
Tweak help messages
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeplum committed Oct 13, 2020
1 parent a783a3a commit e8a7075
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit e8a7075

Please sign in to comment.