perch 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/ha-gen +2 -2
- metadata +1 -1
data/bin/ha-gen
CHANGED
@@ -22,7 +22,7 @@ OptionParser.new do |opts|
|
|
22
22
|
@length = value
|
23
23
|
end
|
24
24
|
|
25
|
-
opts.on("-a", "--fun")
|
25
|
+
opts.on("-a", "--fun") do
|
26
26
|
@fun = true
|
27
27
|
end
|
28
28
|
|
@@ -38,7 +38,7 @@ OptionParser.new do |opts|
|
|
38
38
|
begin
|
39
39
|
opts.parse!
|
40
40
|
if @fun
|
41
|
-
Password.generate_fun
|
41
|
+
puts Password.generate_fun
|
42
42
|
else
|
43
43
|
puts @length ? Password.generate(@length) : Password.generate
|
44
44
|
end
|