lib/urban_pass/cli.rb in urban_pass-0.2.2 vs lib/urban_pass/cli.rb in urban_pass-0.2.3
- old
+ new
@@ -10,10 +10,10 @@
pass_phrase = urban.generate_phrase
puts "Your password is #{pass_phrase}"
puts "It was copied correctly"
end
- desc "define WORD", "defines a word you may not know"
+ desc "define [WORD]", "Defines a word you may not know"
def define(*word)
words = word.join(" ")
urban = UrbanPass::Generate.new
entry = urban.defination(words)
word = words.upcase