From 150763fe2b8d7c32b3f08c551e38fcfd4ad336ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 27 Oct 2015 13:47:00 +0100 Subject: [PATCH] CLI: debug is now part of the octoprint command context --- src/octoprint/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/__init__.py b/src/octoprint/__init__.py index 686eafbc..50b4ab36 100644 --- a/src/octoprint/__init__.py +++ b/src/octoprint/__init__.py @@ -395,12 +395,12 @@ def octo(ctx, debug, host, port, basedir, configfile, logging, daemon, pid, allo "start|stop|restart\" is deprecated, please use " "\"octoprint daemon start|stop|restart\" from now on") - ctx.invoke(daemon_command, pid=pid, daemon=daemon, debug=debug, allow_root=allow_root) + ctx.invoke(daemon_command, pid=pid, daemon=daemon, allow_root=allow_root) else: click.echo("Starting the server via \"octoprint\" is deprecated, " "please use \"octoprint serve\" from now on.") - ctx.invoke(serve_command, host=host, port=port, logging=logging, debug=debug, allow_root=allow_root) + ctx.invoke(serve_command, host=host, port=port, logging=logging, allow_root=allow_root) def main():