Skip to content

Commit

Permalink
fix(debug): fixes the debug feature (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Oct 29, 2016
1 parent 21fba9e commit 6c11ccf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/completions/zsh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}\" \\",
Expand All @@ -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);
}
}

Expand All @@ -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() {
Expand All @@ -354,8 +354,8 @@ fn write_flags_of(p: &Parser) -> String {
arg = long,
help = help);

ret.push(l);
debugln!("Wrote...{}", &*l);
ret.push(l);
}
}

Expand Down

0 comments on commit 6c11ccf

Please sign in to comment.