Add option --netrc-location

Closes #792, #963
This commit is contained in:
pukkandan
2021-09-16 00:51:40 +05:30
parent c589c1d395
commit 0001fcb586
5 changed files with 17 additions and 7 deletions

View File

@@ -478,6 +478,10 @@ def parseOpts(overrideArguments=None):
'-n', '--netrc',
action='store_true', dest='usenetrc', default=False,
help='Use .netrc authentication data')
authentication.add_option(
'--netrc-location',
dest='netrc_location', metavar='PATH',
help='Location of .netrc authentication data; either the path or its containing directory. Defaults to ~/.netrc')
authentication.add_option(
'--video-password',
dest='videopassword', metavar='PASSWORD',