coldshoulder 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/coldshoulder +0 -1
- data/lib/coldshoulder/director.rb +3 -3
- data/lib/coldshoulder/version.rb +1 -1
- metadata +1 -1
data/bin/coldshoulder
CHANGED
@@ -28,8 +28,8 @@ module Coldshoulder
|
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
31
|
-
def parse!
|
32
|
-
opts.parse!(
|
31
|
+
def parse!(command)
|
32
|
+
opts.parse!(command)
|
33
33
|
end
|
34
34
|
|
35
35
|
protected
|
@@ -44,7 +44,7 @@ module Coldshoulder
|
|
44
44
|
command = "--help"
|
45
45
|
end
|
46
46
|
begin
|
47
|
-
|
47
|
+
parse!([command])
|
48
48
|
rescue OptionParser::ParseError => e
|
49
49
|
puts "Error: #{e.message}"
|
50
50
|
end
|
data/lib/coldshoulder/version.rb
CHANGED