mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-07-31 14:33:51 -04:00
Improve prefix arg description
This commit is contained in:
parent
3f9a991b52
commit
e8b94765b4
@ -246,7 +246,7 @@ def get_args():
|
||||
"--url-prefix",
|
||||
default=DEFARGS['URL_PREFIX'],
|
||||
type=str,
|
||||
help="Add prefix to URL: example.com:5000/url-prefix/",
|
||||
help="Add a prefix like /url-prefix to URL: example.com:5000/url-prefix/",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
if args.url_prefix and not args.url_prefix.startswith('/'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user