From 321f3101d9e23943644cced3c7edb0cfdbd0a486 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Fri, 11 Mar 2022 10:30:38 +0100 Subject: [PATCH] system: configd_ctl.py should be same as configctl Historically both make sense but nothing calls configd_ctl.py directly anymore so we can either leave it at that or merge the code and behaviour into configctl. (Or better yet set a symlink to configctl). --- src/opnsense/service/configd_ctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/service/configd_ctl.py b/src/opnsense/service/configd_ctl.py index 257349509..a8a2b5934 100755 --- a/src/opnsense/service/configd_ctl.py +++ b/src/opnsense/service/configd_ctl.py @@ -79,7 +79,7 @@ def exec_config_cmd(exec_command): sock.close() -parser = argparse.ArgumentParser() +parser = argparse.ArgumentParser(prog="configctl") parser.add_argument("-m", help="execute multiple arguments at once", action="store_true") parser.add_argument("-e", help="use as event handler, execute command on receiving input", action="store_true") parser.add_argument("-d", help="detach the execution of the command and return immediately", action="store_true")