mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli] Fix conflict between timeout/third-party flags
This commit is contained in:
parent
a4c6dee7ef
commit
e771ccdf19
|
@ -2275,7 +2275,7 @@ def main():
|
||||||
help=argparse.SUPPRESS)
|
help=argparse.SUPPRESS)
|
||||||
parser.add_argument('-J', '--pretty-json', dest='pretty_json', action='store_true',
|
parser.add_argument('-J', '--pretty-json', dest='pretty_json', action='store_true',
|
||||||
help='Pretty-print JSON')
|
help='Pretty-print JSON')
|
||||||
parser.add_argument('-T', '--api-timeout', dest='api_timeout', action='store',
|
parser.add_argument('-A', '--api-timeout', dest='api_timeout', action='store',
|
||||||
type=float, default=10, metavar='<seconds>',
|
type=float, default=10, metavar='<seconds>',
|
||||||
help='API HTTP request timeout (default: 10 seconds)')
|
help='API HTTP request timeout (default: 10 seconds)')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue