Skip to content

Commit

Permalink
Pumb up to version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aonemd committed Jan 26, 2017
1 parent ac3d8e6 commit 9ff13b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/changit/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/changit/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Changit
VERSION='1.0.0'
VERSION='1.1.0'
end

0 comments on commit 9ff13b9

Please sign in to comment.