bin/ninjs in ninjs-0.13.3 vs bin/ninjs in ninjs-0.13.4

- old
+ new

@@ -105,17 +105,10 @@ } optparse = OptionParser.new do|opts| opts.on( '-h', '--help', 'Display this screen' ) do options[:help] = true - - if command.nil? || command.match(/^-h/) - help.each do |section| - puts section - end - exit - end end opts.on( '-v', '--version', 'Display the version') do time = Time.now Ninjs::Notification.notice 'ninjs ' + Ninjs::VERSION @@ -214,11 +207,11 @@ if options[:help] puts help[:update] exit end Ninjs::Command.update -# help else help.each do |section| - puts section + puts section.last + "\n" end + exit end \ No newline at end of file