diff options
| author | Zack Hobson | 2009-08-23 19:56:30 -0700 | 
|---|---|---|
| committer | Zack Hobson | 2009-08-23 19:56:30 -0700 | 
| commit | 0582befffbfffd65d14c295874c720fba8d08aca (patch) | |
| tree | 8789f383319bf810364081a0bf1bc4740b2c576d | |
| parent | c2bdbfa4df2d4dcb4914605105cdabaedc77da2b (diff) | |
| download | hcl-0582befffbfffd65d14c295874c720fba8d08aca.tar.bz2 | |
Reinstate the --version option.
| -rw-r--r-- | CHANGELOG | 3 | ||||
| -rw-r--r-- | lib/hcl/app.rb | 3 | 
2 files changed, 6 insertions, 0 deletions
| @@ -1,5 +1,8 @@  = Recent Changes in HCl +* Reverted: Adding note fails when task is started without notes, reopens #26. +* Reinstate the --version option +  == v0.2.2 Sun Aug 9 11:16:34 2009 -0700  * Support installation via rip, closes #27. 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. | 
