bin/alog in autoproj-2.0.3 vs bin/alog in autoproj-2.1.0.rc1
- old
+ new
@@ -1,9 +1,17 @@
#! /usr/bin/env ruby
require 'autoproj/cli/main'
require 'autoproj/cli/locate'
+if ARGV.include?('--help') || ARGV.include?('help')
+ puts "Usage:"
+ puts " alog [package]"
+ puts
+ puts "Shows log available for the given package and allows to select and display one"
+ exit 0
+end
+
Autoproj::CLI.basic_setup
Autoproj.report(silent: true) do
cli = Autoproj::CLI::Locate.new
arg = ARGV.first || Dir.pwd