dyntool 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dyntool.rb +4 -2
- metadata +2 -2
data/lib/dyntool.rb
CHANGED
@@ -307,8 +307,10 @@ class Parameters
|
|
307
307
|
@c = 0
|
308
308
|
@dcs = []
|
309
309
|
@sdcs = sdcs
|
310
|
-
@poped = @
|
311
|
-
|
310
|
+
@poped = @ARGV.pop(2)
|
311
|
+
if ((@poped[0] != "-m") || (! @poped[1].is_a? String))
|
312
|
+
usage()
|
313
|
+
end
|
312
314
|
@ARGV.each do |arg|
|
313
315
|
@c += 1
|
314
316
|
if (@c > 6)
|