diff options
author | luigi1111 <luigi1111w@gmail.com> | 2016-12-12 19:53:28 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2016-12-12 19:53:28 -0600 |
commit | 0fb5dc870d310f5b5d7bf8bdcc11c17428b601e2 (patch) | |
tree | 31cdf8ba100ef57472bf296c26fd749e31b181ac /src/wallet/password_container.cpp | |
parent | Merge pull request #1436 (diff) | |
download | monero-0fb5dc870d310f5b5d7bf8bdcc11c17428b601e2.tar.xz |
monero-wallet-cli wording changes 'n' stuff
Possibly other pedantry. Pedants are people too.
Diffstat (limited to 'src/wallet/password_container.cpp')
-rw-r--r-- | src/wallet/password_container.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/password_container.cpp b/src/wallet/password_container.cpp index 480d132e7..5260bbc8b 100644 --- a/src/wallet/password_container.cpp +++ b/src/wallet/password_container.cpp @@ -144,19 +144,19 @@ bool password_container::read_from_tty_double_check(const char *message) { std::string pass2; bool match=false; bool doNotVerifyEntry=false; + if (m_verify){message = "Enter a password for your new wallet";} do{ if (message) std::cout << message <<": "; if (!password_container::read_from_tty(pass1)) return false; if (m_verify==true){//double check password; - if (message) - std::cout << message << ": "; + std::cout << "Confirm Password: "; if (!password_container::read_from_tty(pass2)) return false; if(pass1!=pass2){ //new password entered did not match - std::cout << "Passwords do not match" << std::endl; + std::cout << "Passwords do not match! Please try again." << std::endl; pass1=""; pass2=""; match=false; |