mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
chore: fixes some spelling mistakes
This commit is contained in:
parent
2bb5ddcee6
commit
0d6cd6e7d9
1 changed files with 3 additions and 3 deletions
|
@ -81,7 +81,7 @@ fn global_version() {
|
|||
.setting(AppSettings::GlobalVersion)
|
||||
.version("1.1")
|
||||
.subcommand(SubCommand::with_name("sub1"));
|
||||
app.p.propogate_settings();
|
||||
app.p.propagate_settings();
|
||||
assert_eq!(app.p.subcommands[0].p.meta.version, Some("1.1"));
|
||||
}
|
||||
|
||||
|
@ -287,7 +287,7 @@ fn global_setting() {
|
|||
let mut app = App::new("test")
|
||||
.global_setting(AppSettings::ColoredHelp)
|
||||
.subcommand(SubCommand::with_name("subcmd"));
|
||||
app.p.propogate_settings();
|
||||
app.p.propagate_settings();
|
||||
assert!(app.p
|
||||
.subcommands
|
||||
.iter()
|
||||
|
@ -305,7 +305,7 @@ fn global_settings() {
|
|||
let mut app = App::new("test")
|
||||
.global_settings(&[AppSettings::ColoredHelp, AppSettings::TrailingVarArg])
|
||||
.subcommand(SubCommand::with_name("subcmd"));
|
||||
app.p.propogate_settings();
|
||||
app.p.propagate_settings();
|
||||
assert!(app.p
|
||||
.subcommands
|
||||
.iter()
|
||||
|
|
Loading…
Reference in a new issue