mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 12:30:07 +00:00
fix: 'oneserver' could only be set in the CLI
This commit is contained in:
parent
55189c8623
commit
1f937aa6cd
1 changed files with 1 additions and 1 deletions
|
@ -806,7 +806,7 @@ argparse._SubParsersAction.__call__ = subparser_call
|
|||
|
||||
|
||||
def add_network_options(parser):
|
||||
parser.add_argument("-1", "--oneserver", action="store_true", dest="oneserver", default=False, help="connect to one server only")
|
||||
parser.add_argument("-1", "--oneserver", action="store_true", dest="oneserver", default=None, help="connect to one server only")
|
||||
parser.add_argument("-s", "--server", dest="server", default=None, help="set server host:port:protocol, where protocol is either t (tcp) or s (ssl)")
|
||||
parser.add_argument("-p", "--proxy", dest="proxy", default=None, help="set proxy [type:]host[:port], where type is socks4,socks5 or http")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue