dougsko-imagebin 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/VERSION.yml +1 -1
- data/bin/imagebin +4 -2
- metadata +1 -1
data/README.rdoc
CHANGED
data/VERSION.yml
CHANGED
data/bin/imagebin
CHANGED
@@ -32,7 +32,7 @@ options = { "t" => "file",
|
|
32
32
|
|
33
33
|
opts = OptionParser.new do |opts|
|
34
34
|
opts.banner = "imagebin.rb is a CLI to http://imagebin.ca
|
35
|
-
Example:
|
35
|
+
Example: imagebin -f <pic.png>"
|
36
36
|
|
37
37
|
opts.separator ""
|
38
38
|
opts.separator "Options:"
|
@@ -54,7 +54,9 @@ opts = OptionParser.new do |opts|
|
|
54
54
|
end
|
55
55
|
|
56
56
|
opts.on("-p", "--private", "Private") do |priv|
|
57
|
-
|
57
|
+
if priv == true
|
58
|
+
options[:adult] = "t"
|
59
|
+
end
|
58
60
|
end
|
59
61
|
|
60
62
|
opts.on_tail("-h", "--help", "Show this message") do
|