Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

do not ask password if -r is used

  • Loading branch information...
commit 9c4d447dcdffb8d034a40822726e08c4da30a10e 1 parent 263248f
Ky-Anh Huynh authored May 10, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  bin/trocla
1  bin/trocla
@@ -25,6 +25,7 @@ OptionParser.new do |opts|
25 25
 
26 26
   opts.on("--random", "-r", "Generate random password") do
27 27
     options['random'] = true
  28
+    options[:ask_password] = false
28 29
   end
29 30
 
30 31
   opts.on("--no-random", "Do not generate random password") do

0 notes on commit 9c4d447

Please sign in to comment.
Something went wrong with that request. Please try again.