From 539ed13be4dc8d332711572dd1d2f0d4978f532c Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 25 May 2022 16:06:44 +0200 Subject: [PATCH] Bugfixes for run service --- src/cpl_cli/command/run_service.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/cpl_cli/command/run_service.py b/src/cpl_cli/command/run_service.py index 78d48a34..7aa4e456 100644 --- a/src/cpl_cli/command/run_service.py +++ b/src/cpl_cli/command/run_service.py @@ -86,11 +86,7 @@ class RunService(CommandABC): :param args: :return: """ - if len(args) > 1: - Error.error(f'Unexpected argument(s): {", ".join(args)}') - sys.exit() - - if len(args) == 1: + if len(args) >= 1: self._set_project_by_args(args[0]) args.remove(args[0])