lib/command_kit/options/parser.rb in command_kit-0.4.0 vs lib/command_kit/options/parser.rb in command_kit-0.4.1
- old
+ new
@@ -48,10 +48,10 @@
def included(context)
super
if context.class == Module
context.extend ModuleMethods
- else
+ elsif context.usage.nil?
context.usage '[options]'
end
end
end