lib/standup/scripts/base.rb in standup-0.3.15 vs lib/standup/scripts/base.rb in standup-0.3.16

- old
+ new

@@ -65,11 +65,13 @@ def self.argument arg_pattern, arg_name = arg_pattern, variants = nil script_description = description script_name = name opt_parser = Trollop::Parser.new do - banner script_description - banner '' + if script_description + banner script_description + banner '' + end banner 'Usage:' banner " standup #{script_name} [options] #{arg_pattern}" banner '' if variants banner "where <#{arg_name}> is one of the following:" \ No newline at end of file