summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/net/ssh/prompt.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/ssh/prompt.rb b/lib/net/ssh/prompt.rb
index bffe458..3b9fdac 100644
--- a/lib/net/ssh/prompt.rb
+++ b/lib/net/ssh/prompt.rb
@@ -13,8 +13,8 @@ module Net
#
# prompter = options[:password_prompt].start({type:'password'})
# while !ok && max_retries < 3
- # user = prompter.ask("user: ", {}, true)
- # password = prompter.ask("password: ", {}, false)
+ # user = prompter.ask("user: ", true)
+ # password = prompter.ask("password: ", false)
# ok = send(user, password)
# prompter.sucess if ok
# end