From df46f8579be60b20143b7152ad69487bb5560e7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 7 Nov 2019 09:29:37 +0100 Subject: [PATCH] Clarify dev setting variable name --- tutor/commands/dev.py | 4 ++-- tutor/opts.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tutor/commands/dev.py b/tutor/commands/dev.py index b44bcda..32f6857 100644 --- a/tutor/commands/dev.py +++ b/tutor/commands/dev.py @@ -17,7 +17,7 @@ def dev(): ) @opts.root @opts.edx_platform_path -@opts.edx_platform_settings +@opts.edx_platform_development_settings @click.argument("service") @click.argument("command", default=None, required=False) @click.argument("args", nargs=-1) @@ -48,7 +48,7 @@ def execute(root, service, command, args): @click.command(help="Run a development server") @opts.root @opts.edx_platform_path -@opts.edx_platform_settings +@opts.edx_platform_development_settings @click.argument("service", type=click.Choice(["lms", "cms"])) def runserver(root, edx_platform_path, edx_platform_settings, service): port = service_port(service) diff --git a/tutor/opts.py b/tutor/opts.py index bf0d494..09015a5 100644 --- a/tutor/opts.py +++ b/tutor/opts.py @@ -22,7 +22,7 @@ edx_platform_path = click.option( 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", "--edx-platform-settings", envvar="TUTOR_EDX_PLATFORM_SETTINGS",