mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +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.
|
||||
fn write_subcommands(&mut self, parser: &Parser) -> io::Result<()> {
|
||||
debugln!("exec=write_subcommands;");
|
||||
debugln!("exec=write_subcommands;");
|
||||
let mut longest = 0;
|
||||
|
||||
let mut ord_m = VecMap::new();
|
||||
|
@ -556,12 +556,10 @@ impl<'a> Help<'a> {
|
|||
for (_, btm) in ord_m.into_iter() {
|
||||
for (_, sc) in btm.into_iter() {
|
||||
if !first {
|
||||
debugln!("Writing newline...");
|
||||
try!(self.writer.write(b"\n"));
|
||||
} else {
|
||||
first = false;
|
||||
}
|
||||
debugln!("Writing sc...{}", sc);
|
||||
try!(self.write_arg(sc, longest));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue