diff --git a/lib/changit/cli.rb b/lib/changit/cli.rb index 8cfa908..093ce05 100644 --- a/lib/changit/cli.rb +++ b/lib/changit/cli.rb @@ -13,22 +13,22 @@ def initialize opt.separator "" opt.separator "Options" - opt.on("-s","--source SOURCE","Which gitconfig file to copy from") do |src_path| + opt.on("-s", "--source SOURCE","Which gitconfig file to copy from") do |src_path| @options[:src_path] = src_path end - opt.on("-t","--target TARGET","Which directory to copy the config to."\ + opt.on("-t", "--target TARGET","Which directory to copy the config to."\ " To copy to different directories, pass more than one -t argument each for one directory" ) do |target_path| @options[:target_paths] << target_path end - opt.on("-v","--version","Show version number") do + opt.on("-v", "--version","Show version number") do puts Changit::VERSION exit end - opt.on("-h","--help","Show CLI options") do + opt.on("-h", "--help","Show CLI options") do puts opt_parser exit end diff --git a/lib/changit/version.rb b/lib/changit/version.rb index 842af78..febb26b 100644 --- a/lib/changit/version.rb +++ b/lib/changit/version.rb @@ -1,3 +1,3 @@ module Changit - VERSION='1.0.0' + VERSION='1.1.0' end