mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
Fix a typo in an example
This commit is contained in:
parent
63fa59a251
commit
f89c8f4da2
4 changed files with 6 additions and 6 deletions
|
@ -47,7 +47,7 @@ fn main() {
|
|||
_ => {
|
||||
cmd.error(
|
||||
ErrorKind::ArgumentConflict,
|
||||
"Cam only modify one version field",
|
||||
"Can only modify one version field",
|
||||
)
|
||||
.exit();
|
||||
}
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue