-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -821,15 +821,15 @@ impl<'help> App<'help> { | |
/// Does awesome things\n\ | ||
/// (C) [email protected]\n\n\ | ||
/// | ||
/// USAGE: myapp <opts> <comamnd>\n\n\ | ||
/// USAGE: myapp <opts> <command>\n\n\ | ||
/// | ||
/// Options:\n\ | ||
/// -h, --help Display this message\n\ | ||
/// -V, --version Display version info\n\ | ||
/// -s <stuff> Do something with stuff\n\ | ||
/// -v Be verbose\n\n\ | ||
/// | ||
/// Commmands:\n\ | ||
/// Commands:\n\ | ||
/// help Print this message\n\ | ||
/// work Do some work") | ||
/// # ; | ||
|
@@ -2490,7 +2490,7 @@ impl<'help> App<'help> { | |
|
||
// Remove generated help and version args in the subcommand | ||
// | ||
// Don't remove if those args are futher mutated | ||
// Don't remove if those args are further mutated | ||
if is_generated { | ||
let generated_pos = sc | ||
.args | ||
|
@@ -2743,7 +2743,7 @@ impl<'help> App<'help> { | |
// Print val_name for positional arguments. e.g. <file_name> | ||
x.name_no_brackets().to_string() | ||
} else { | ||
// Print useage string for flags arguments, e.g. <--help> | ||
// Print usage string for flags arguments, e.g. <--help> | ||
x.to_string() | ||
} | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
files.extend-exclude = [ | ||
"CHANGELOG.md", | ||
"tests", | ||
] | ||
[default.extend-words] | ||
# Acronyms | ||
als = "als" | ||
lits = "lits" |