diff --git a/src/app/mod.rs b/src/app/mod.rs index ff9d3dcf..8bb1a440 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -491,6 +491,7 @@ impl<'a, 'b> App<'a, 'b> { /// ``` pub fn args_from_usage(mut self, usage: &'a str) -> Self { for l in usage.lines() { + if l.len() == 0 { continue; } self.0.add_arg(&Arg::from_usage(l.trim())); } self