mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
fix(debug): fixes the debug feature (#716)
This commit is contained in:
parent
21fba9e6cd
commit
6c11ccf443
1 changed files with 4 additions and 4 deletions
|
@ -307,8 +307,8 @@ fn write_opts_of(p: &Parser) -> String {
|
|||
possible_values = pv,
|
||||
help = help);
|
||||
|
||||
ret.push(s);
|
||||
debugln!("Wrote...{}", &*s);
|
||||
ret.push(s);
|
||||
}
|
||||
if let Some(long) = o.long() {
|
||||
let l = format!("\"{conflicts}{multiple}--{arg}+[{help}]{possible_values}\" \\",
|
||||
|
@ -318,8 +318,8 @@ fn write_opts_of(p: &Parser) -> String {
|
|||
possible_values = pv,
|
||||
help = help);
|
||||
|
||||
ret.push(l);
|
||||
debugln!("Wrote...{}", &*l);
|
||||
ret.push(l);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -343,8 +343,8 @@ fn write_flags_of(p: &Parser) -> String {
|
|||
arg = short,
|
||||
help = help);
|
||||
|
||||
ret.push(s);
|
||||
debugln!("Wrote...{}", &*s);
|
||||
ret.push(s);
|
||||
}
|
||||
|
||||
if let Some(long) = f.long() {
|
||||
|
@ -354,8 +354,8 @@ fn write_flags_of(p: &Parser) -> String {
|
|||
arg = long,
|
||||
help = help);
|
||||
|
||||
ret.push(l);
|
||||
debugln!("Wrote...{}", &*l);
|
||||
ret.push(l);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue