exe/git-superproject in git-superproject-0.1.0 vs exe/git-superproject in git-superproject-0.2.0
- old
+ new
@@ -25,11 +25,11 @@
warn 'No superproject specified... aborting!'
exit(-1)
end
case command
when '--list' then puts config.list(name).to_json
- when '--add' then puts config.add(name, ARGV).to_json
- when '--remove' then puts config.remove(name, ARGV).to_json
+ when '--add' then puts config.add(name, *ARGV).to_json
+ when '--remove' then puts config.remove(name, *ARGV).to_json
else
abort \
"Unknown 'git superproject' command: #{command}\n\n" \
'(use --help/-h to list all available commands)'
end