From aa4268b4d831a3ecc38836d20f8c3f654ae282bb Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Wed, 29 Jul 2026 12:54:54 +0200 Subject: [PATCH] Fixed typo in `cfengine --help` `s/arount/around/` for build argument. Also added period to end of sentence since the newline is ignored when rendering the help menu. Last but not least, I changed the help string to multiline string (i.e. `"""`) instead of using `\n` and escaping newline. Signed-off-by: Lars Erik Wik --- src/cfengine_cli/cfengine_wrapper/arg_parse.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/cfengine_cli/cfengine_wrapper/arg_parse.py b/src/cfengine_cli/cfengine_wrapper/arg_parse.py index a7b6871..5292b29 100644 --- a/src/cfengine_cli/cfengine_wrapper/arg_parse.py +++ b/src/cfengine_cli/cfengine_wrapper/arg_parse.py @@ -35,10 +35,16 @@ def parse_wrapper_args(subp: argparse._SubParsersAction): default=None, ) - subp.add_parser("build", help="Build a policy set from a CFEngine Build project\n\ -A wrapper arount the cfbs `build`-function.") - sp = subp.add_parser("deploy", help="Deploy policy-set (masterfiles) to hub\n\ -A wrapper around the cf-remote `deploy`-function with some added niceties.") + subp.add_parser( + "build", + help="""Build a policy set from a CFEngine Build project. +A wrapper around the cfbs `build`-function.""", + ) + sp = subp.add_parser( + "deploy", + help="""Deploy policy-set (masterfiles) to hub. +A wrapper around the cf-remote `deploy`-function with some added niceties.""", + ) sp.add_argument("--hub", help="Hub(s) to deploy to", type=str) sp.add_argument( "masterfiles",