Better wording.

This commit is contained in:
Jakub Roztocil committed 2012-07-17 00:06:13 +02:00
1 parent 681b652bf9
commit 05b321d38f
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ parser.add_argument(
'--auth', '-a', type=cliparse.AuthCredentialsType(cliparse.SEP_COMMON),
help=_('''
username:password.
If the password is omitted (-a username), HTTPie will prompt for it.
If only the username is provided (-a username), HTTPie will prompt for the password.
'''),
)
+1
View File
@@ -230,6 +230,7 @@ class AuthCredentials(KeyValue):
"""
def _getpass(self, prompt):
# To allow mocking.
return getpass.getpass(prompt)
def has_password(self):