Permalink
Browse files

do not ask password if -r is used

  • Loading branch information...
1 parent 263248f commit 9c4d447dcdffb8d034a40822726e08c4da30a10e @icy icy committed May 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/trocla
View
1 bin/trocla
@@ -25,6 +25,7 @@ OptionParser.new do |opts|
opts.on("--random", "-r", "Generate random password") do
options['random'] = true
+ options[:ask_password] = false
end
opts.on("--no-random", "Do not generate random password") do

0 comments on commit 9c4d447

Please sign in to comment.