exe/git-superproject in git-superproject-0.2.1 vs exe/git-superproject in git-superproject-0.2.2
- old
+ new
@@ -24,12 +24,12 @@
unless name
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 '--list' then config.list(name)
+ when '--add' then config.add(name, *ARGV)
+ when '--remove' then config.remove(name, *ARGV)
else
abort \
"Unknown 'git superproject' command: #{command}\n\n" \
'(use --help/-h to list all available commands)'
end