Skip to content

Commit 97541a5

Browse files
committed
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 <lars.erik.wik@northern.tech>
1 parent 0e2f53e commit 97541a5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/cfengine_cli/cfengine_wrapper/arg_parse.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ def parse_wrapper_args(subp: argparse._SubParsersAction):
3535
default=None,
3636
)
3737

38-
subp.add_parser("build", help="Build a policy set from a CFEngine Build project\n\
39-
A wrapper arount the cfbs `build`-function.")
40-
sp = subp.add_parser("deploy", help="Deploy policy-set (masterfiles) to hub\n\
41-
A wrapper around the cf-remote `deploy`-function with some added niceties.")
38+
subp.add_parser("build", help="""Build a policy set from a CFEngine Build project.
39+
A wrapper around the cfbs `build`-function.""")
40+
sp = subp.add_parser("deploy", help="""Deploy policy-set (masterfiles) to hub.
41+
A wrapper around the cf-remote `deploy`-function with some added niceties.""")
4242
sp.add_argument("--hub", help="Hub(s) to deploy to", type=str)
4343
sp.add_argument(
4444
"masterfiles",

0 commit comments

Comments
 (0)