Fix a typo in an example (#3528)

Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
This commit is contained in:
Ed Page 2022-03-02 09:17:00 -06:00 committed by GitHub
commit 47dae64529
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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]