From d0ff9cb65ec3d87a19454a25ff03b1cb65472bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 12 Dec 2016 10:05:11 +0100 Subject: [PATCH] Fix octoprint --daemon backwards compatibility --- src/octoprint/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/cli/__init__.py b/src/octoprint/cli/__init__.py index 826ebbc0..df8900b2 100644 --- a/src/octoprint/cli/__init__.py +++ b/src/octoprint/cli/__init__.py @@ -146,7 +146,7 @@ def octo(ctx, debug, host, port, logging, daemon, pid, allow_root): "\"octoprint daemon start|stop|restart\" from now on") from octoprint.cli.server import daemon_command - ctx.invoke(daemon_command, debug=debug, pid=pid, daemon=daemon, allow_root=allow_root) + ctx.invoke(daemon_command, debug=debug, host=host, port=port, logging=logging, allow_root=allow_root, command=daemon, pid=pid) else: click.echo("Starting the server via \"octoprint\" is deprecated, " "please use \"octoprint serve\" from now on.")