lib/vclog/cli/help.rb in vclog-1.7.0 vs lib/vclog/cli/help.rb in vclog-1.8.0

- old
+ new

@@ -17,19 +17,24 @@ end end # def execute - puts "Usage: vclog [command] [options]" - puts - puts "COMMANDS:" - puts " changelog display a Change Log" - puts " history display a Release History" - puts " version display the current tag version" - puts " bump display next reasonable version" - puts " list display format options" - puts " help show help information" - puts + if cmd = arguments.first + VCLog::CLI.cli(cmd, '--help') + else + puts "Usage: vclog [command] [options]" + puts + puts "COMMANDS:" + puts " changelog produce a Change Log" + puts " history produce a Release History" + puts " formats list available formats" + puts " version display the current version" + puts " bump display next reasonable version" + puts " autotag create tags for history file entries" + puts " help show help information" + puts + end end end end