mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-24 08:51:00 +00:00
int arg
This commit is contained in:
parent
3791a825ee
commit
9290b308c2
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -6,7 +6,7 @@ parser.add_argument('--host', type=str,
|
|||
help='Hostname (%(default)s)', default="127.0.0.1")
|
||||
parser.add_argument('--port', type=int,
|
||||
help='Port (%(default)s)', default=5000)
|
||||
parser.add_argument('--char-limit', default=-1, metavar="<number of characters>",
|
||||
parser.add_argument('--char-limit', default=-1, type=int, metavar="<number of characters>",
|
||||
help='Set character limit (%(default)s)')
|
||||
parser.add_argument('--req-limit', default=-1, type=int, metavar="<number>",
|
||||
help='Set maximum number of requests per minute per client (%(default)s)')
|
||||
|
|
Loading…
Reference in a new issue