bin/mandy-map in trafficbroker-mandy-0.1.3 vs bin/mandy-map in trafficbroker-mandy-0.1.5
- old
+ new
@@ -1,6 +1,11 @@
#!/usr/bin/env ruby
+if ARGV.size==0
+ puts "USAGE: mandy-map my_script.rb 'Job Name'"
+ exit
+end
+
def absolute_path(path)
path =~ /^\// ? path : File.join(Dir.pwd, path)
end
file = absolute_path(ARGV[0])