bin/amake in autoproj-2.0.3 vs bin/amake in autoproj-2.1.0.rc1
- old
+ new
@@ -1,6 +1,17 @@
#! /usr/bin/env ruby
require 'autoproj/cli/main'
Autoproj::CLI.basic_setup
-Autoproj::CLI::Main.start(['build', '--amake', *ARGV])
+
+class Amake < Autoproj::CLI::Main
+ def self.banner(*)
+ "amake [options]"
+ end
+end
+
+if ARGV.include?('--help') || ARGV.include?('help')
+ Amake.start(['help', 'build'])
+else
+ Amake.start(['build', '--amake', *ARGV])
+end