Skip to content

Commit 7488ed8

Browse files
Fix for issue #120
1 parent d84c041 commit 7488ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongodb_consistent_backup/Common/Config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def makeParser(self):
5151
parser.add_argument("-v", "--verbose", dest="verbose", help="Verbose output", default=False, action="store_true")
5252
parser.add_argument("-H", "--host", dest="host", help="MongoDB Hostname, IP address or '<replset>/<host:port>,<host:port>,..' URI (default: localhost)", default="localhost", type=str)
5353
parser.add_argument("-P", "--port", dest="port", help="MongoDB Port (default: 27017)", default=27017, type=int)
54-
parser.add_argument("-u", "--user", dest="user", help="MongoDB Authentication Username (for optional auth)", type=str)
54+
parser.add_argument("-u", "--username", dest="username", help="MongoDB Authentication Username (for optional auth)", type=str)
5555
parser.add_argument("-p", "--password", dest="password", help="MongoDB Authentication Password (for optional auth)", type=str)
5656
parser.add_argument("-a", "--authdb", dest="authdb", help="MongoDB Auth Database (for optional auth - default: admin)", default='admin', type=str)
5757
parser.add_argument("-n", "--backup.name", dest="backup.name", help="Name of the backup set (required)", type=str)

0 commit comments

Comments
 (0)