From 9581db4c82cae75eabd011966edd3c955b23b6ac Mon Sep 17 00:00:00 2001 From: icy Date: Thu, 10 May 2012 14:08:03 +0700 Subject: [PATCH 1/2] fix typo --- bin/trocla | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/trocla b/bin/trocla index f1f58c2..43c7b4c 100755 --- a/bin/trocla +++ b/bin/trocla @@ -23,7 +23,7 @@ OptionParser.new do |opts| end end - opts.on("-random", "-r", "Generate random password") do + opts.on("--random", "-r", "Generate random password") do options['random'] = false end From 263248f7e680ffb0fa788a44028b12a549ee6c2a Mon Sep 17 00:00:00 2001 From: icy Date: Thu, 10 May 2012 14:13:39 +0700 Subject: [PATCH 2/2] fix typo --- bin/trocla | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/trocla b/bin/trocla index 43c7b4c..f92933a 100755 --- a/bin/trocla +++ b/bin/trocla @@ -24,7 +24,7 @@ OptionParser.new do |opts| end opts.on("--random", "-r", "Generate random password") do - options['random'] = false + options['random'] = true end opts.on("--no-random", "Do not generate random password") do