6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 14:17:46 +00:00

Clarify dev setting variable name

This commit is contained in:
Régis Behmo 2019-11-07 09:29:37 +01:00
parent 6d419bc8b5
commit df46f8579b
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ def dev():
) )
@opts.root @opts.root
@opts.edx_platform_path @opts.edx_platform_path
@opts.edx_platform_settings @opts.edx_platform_development_settings
@click.argument("service") @click.argument("service")
@click.argument("command", default=None, required=False) @click.argument("command", default=None, required=False)
@click.argument("args", nargs=-1) @click.argument("args", nargs=-1)
@ -48,7 +48,7 @@ def execute(root, service, command, args):
@click.command(help="Run a development server") @click.command(help="Run a development server")
@opts.root @opts.root
@opts.edx_platform_path @opts.edx_platform_path
@opts.edx_platform_settings @opts.edx_platform_development_settings
@click.argument("service", type=click.Choice(["lms", "cms"])) @click.argument("service", type=click.Choice(["lms", "cms"]))
def runserver(root, edx_platform_path, edx_platform_settings, service): def runserver(root, edx_platform_path, edx_platform_settings, service):
port = service_port(service) port = service_port(service)

View File

@ -22,7 +22,7 @@ edx_platform_path = click.option(
help="Mount a local edx-platform from the host (environment variable: TUTOR_EDX_PLATFORM_PATH)", help="Mount a local edx-platform from the host (environment variable: TUTOR_EDX_PLATFORM_PATH)",
) )
edx_platform_settings = click.option( edx_platform_development_settings = click.option(
"-S", "-S",
"--edx-platform-settings", "--edx-platform-settings",
envvar="TUTOR_EDX_PLATFORM_SETTINGS", envvar="TUTOR_EDX_PLATFORM_SETTINGS",