script/add in gman-5.0.9 vs script/add in gman-6.0.0
- old
+ new
@@ -5,13 +5,13 @@
# Usage: script/add [GROUP] [DOMAIN(S)]
require './lib/gman/importer'
if ARGV.length < 2
- puts "Usage: script/add [GROUP] [DOMAIN(S)]"
+ puts 'Usage: script/add [GROUP] [DOMAIN(S)]'
exit 1
end
group = ARGV[0]
domains = ARGV.drop(1)
-Gman.import({ group => domains })
+Gman.import(group => domains)