mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-07 07:54:03 +00:00
fix: in runserver
, only recommend --mount
once per invocation
Previously, `tutor dev runserver --volume=x --volume=y` would log: 'runserver' is deprecated and will be removed in a future release. Use 'start' instead. Bind-mounts can be specified using '-m/--mount'. Bind-mounts can be specified using '-m/--mount'.
This commit is contained in:
parent
126c6062e5
commit
99a3da809e
@ -115,6 +115,7 @@ def runserver(
|
||||
for option in options:
|
||||
if option.startswith("-v") or option.startswith("--volume"):
|
||||
depr_warning += " Bind-mounts can be specified using '-m/--mount'."
|
||||
break
|
||||
fmt.echo_alert(depr_warning)
|
||||
config = tutor_config.load(context.obj.root)
|
||||
if service in ["lms", "cms"]:
|
||||
|
Loading…
Reference in New Issue
Block a user