Fix a typo in an example

This commit is contained in:
Steve Klabnik 2022-03-01 23:19:14 -06:00 committed by Ed Page
parent 63fa59a251
commit f89c8f4da2
4 changed files with 6 additions and 6 deletions

View file

@ -47,7 +47,7 @@ fn main() {
_ => {
cmd.error(
ErrorKind::ArgumentConflict,
"Cam only modify one version field",
"Can only modify one version field",
)
.exit();
}

View file

@ -605,7 +605,7 @@ OPTIONS:
$ 04_04_custom
? failed
error: Cam only modify one version field
error: Can only modify one version field
USAGE:
04_04_custom[EXE] [OPTIONS] [INPUT_FILE]
@ -617,7 +617,7 @@ Version: 2.2.3
$ 04_04_custom --major --minor
? failed
error: Cam only modify one version field
error: Can only modify one version field
USAGE:
04_04_custom[EXE] [OPTIONS] [INPUT_FILE]

View file

@ -60,7 +60,7 @@ fn main() {
let mut cmd = Cli::command();
cmd.error(
ErrorKind::ArgumentConflict,
"Cam only modify one version field",
"Can only modify one version field",
)
.exit();
}

View file

@ -577,7 +577,7 @@ OPTIONS:
$ 04_04_custom_derive
? failed
error: Cam only modify one version field
error: Can only modify one version field
USAGE:
clap [OPTIONS] [INPUT_FILE]
@ -589,7 +589,7 @@ Version: 2.2.3
$ 04_04_custom_derive --major --minor
? failed
error: Cam only modify one version field
error: Can only modify one version field
USAGE:
clap [OPTIONS] [INPUT_FILE]