From 0582befffbfffd65d14c295874c720fba8d08aca Mon Sep 17 00:00:00 2001 From: Zack Hobson Date: Sun, 23 Aug 2009 19:56:30 -0700 Subject: Reinstate the --version option. --- lib/hcl/app.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/hcl/app.rb b/lib/hcl/app.rb index a3f3153..702ac66 100644 --- a/lib/hcl/app.rb +++ b/lib/hcl/app.rb @@ -30,6 +30,8 @@ class Net::HTTP end module HCl + VERSION = "0.2.2" + class App include HCl::Utility include HCl::Commands @@ -85,6 +87,7 @@ module HCl def process_args *args Trollop::options(args) do stop_on Commands.instance_methods + version "HCl version #{VERSION}" banner <<-EOM HCl is a command-line client for manipulating Harvest time sheets. -- cgit v1.2.3