mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 01:15:55 +08:00
Use common cmdline practices for named args
Contributes CURA-10475 and CURA-10625
This commit is contained in:
parent
3713207040
commit
289b71cd9f
@ -41,7 +41,7 @@ class BackendPlugin(PluginObject):
|
|||||||
if not self._plugin_command or "--port" in self._plugin_command:
|
if not self._plugin_command or "--port" in self._plugin_command:
|
||||||
return self._plugin_command or []
|
return self._plugin_command or []
|
||||||
|
|
||||||
return self._plugin_command + ["--port", str(self.__port)]
|
return self._plugin_command + ["--port=", str(self.__port)]
|
||||||
|
|
||||||
def start(self) -> bool:
|
def start(self) -> bool:
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user