This commit is contained in:
parent
7759dbce8d
commit
fa7790eadf
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,6 +7,7 @@ __pycache__/
|
||||
*.good
|
||||
*.bad
|
||||
*.junk
|
||||
*.bak
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
@ -331,6 +331,11 @@ def oMainArgparser(_=None, iMode=0):
|
||||
parser.add_argument('--proxy_type', '--proxy-type', default=0, type=int,
|
||||
choices=[0,1,2],
|
||||
help='proxy type 0=noproxy, 1=http, 2=socks')
|
||||
parser.add_argument('--proxy_user', '--proxy-user', default='', type=str,
|
||||
help='proxy username (unused)')
|
||||
parser.add_argument('--proxy_pass', '--proxy-pass', default='', type=str,
|
||||
help='proxy password (unused)')
|
||||
|
||||
parser.add_argument('--tcp_port', '--tcp-port', default=0, type=int,
|
||||
help='tcp relay server port')
|
||||
parser.add_argument('--udp_enabled', type=str, default='True',
|
||||
|
@ -356,9 +356,6 @@ class ToxIterateThread(BaseThread):
|
||||
|
||||
def oArgparse(lArgv):
|
||||
parser = ts.oMainArgparser()
|
||||
parser.add_argument('--norequest', type=str, default='False',
|
||||
choices=['True','False'],
|
||||
help='Use _norequest')
|
||||
parser.add_argument('profile', type=str, nargs='?', default=None,
|
||||
help='Path to Tox profile')
|
||||
oArgs = parser.parse_args(lArgv)
|
||||
|
Loading…
Reference in New Issue
Block a user