mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
chore: removes extra debug statements
This commit is contained in:
parent
706a7c11b0
commit
7db45f78d8
1 changed files with 1 additions and 3 deletions
|
@ -542,7 +542,7 @@ impl<'a> Help<'a> {
|
||||||
|
|
||||||
/// Writes help for subcommands of a Parser Object to the wrapped stream.
|
/// Writes help for subcommands of a Parser Object to the wrapped stream.
|
||||||
fn write_subcommands(&mut self, parser: &Parser) -> io::Result<()> {
|
fn write_subcommands(&mut self, parser: &Parser) -> io::Result<()> {
|
||||||
debugln!("exec=write_subcommands;");
|
debugln!("exec=write_subcommands;");
|
||||||
let mut longest = 0;
|
let mut longest = 0;
|
||||||
|
|
||||||
let mut ord_m = VecMap::new();
|
let mut ord_m = VecMap::new();
|
||||||
|
@ -556,12 +556,10 @@ impl<'a> Help<'a> {
|
||||||
for (_, btm) in ord_m.into_iter() {
|
for (_, btm) in ord_m.into_iter() {
|
||||||
for (_, sc) in btm.into_iter() {
|
for (_, sc) in btm.into_iter() {
|
||||||
if !first {
|
if !first {
|
||||||
debugln!("Writing newline...");
|
|
||||||
try!(self.writer.write(b"\n"));
|
try!(self.writer.write(b"\n"));
|
||||||
} else {
|
} else {
|
||||||
first = false;
|
first = false;
|
||||||
}
|
}
|
||||||
debugln!("Writing sc...{}", sc);
|
|
||||||
try!(self.write_arg(sc, longest));
|
try!(self.write_arg(sc, longest));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue