Skip to content

Commit 5879beb

Browse files
authored
Merge pull request #240 from jakub-nt/CFE-4372
CFE-4372: Clarified `--masterfiles` argument's manual
2 parents 2e7c616 + 238361d commit 5879beb

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

cfbs/args.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def get_arg_parser():
141141
action="store_true",
142142
)
143143
parser.add_argument(
144-
"--masterfiles", help="Add masterfiles on cfbs init choose between"
144+
"--masterfiles",
145+
help='Specify masterfiles version to add during "cfbs init". This can be a branch, a full version number, or `no` to not add masterfiles at all.',
145146
)
146147
return parser

cfbs/cfbs.1

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH CFBS "1" "2025\-04\-03" "cfbs" "CFEngine Build System manual"
1+
.TH CFBS "1" "2025\-07\-01" "cfbs" "CFEngine Build System manual"
22
.SH NAME
33
cfbs \- combines multiple modules into 1 policy set to deploy on your infrastructure. Modules can be custom promise types, JSON files which enable certain functionality, or reusable CFEngine policy. The modules you use can be written by the CFEngine team, others in the community, your colleagues, or yourself.
44
.SH SYNOPSIS
@@ -9,8 +9,8 @@ CFEngine Build System.
99

1010
.TP
1111
\fBcmd\fR
12-
The command to perform (pretty, init, status, search, add, remove, clean, update, validate, download, build, install, help, info, show,
13-
analyse, analyze, input, set\-input, get\-input, generate\-release\-information)
12+
The command to perform (pretty, init, status, search, add, remove, clean, update, validate, download, build, install, help,
13+
info, show, analyse, analyze, input, set\-input, get\-input, generate\-release\-information)
1414

1515
.TP
1616
\fBargs\fR
@@ -99,15 +99,17 @@ If the path given to 'cfbs analyze' contains a masterfiles subdirectory, specify
9999

100100
.TP
101101
\fB\-\-ignored\-path\-components\fR \fI\,[IGNORED_PATH_COMPONENTS ...]\/\fR
102-
Specify path components which should be ignored during 'cfbs analyze' (the components should be passed separately, delimited by spaces)
102+
Specify path components which should be ignored during 'cfbs analyze' (the components should be passed separately, delimited by
103+
spaces)
103104

104105
.TP
105106
\fB\-\-offline\fR
106107
Do not connect to the Internet to download the latest version of MPF release information during 'cfbs analyze'
107108

108109
.TP
109110
\fB\-\-masterfiles\fR \fI\,MASTERFILES\/\fR
110-
Add masterfiles on cfbs init choose between
111+
Specify masterfiles version to add during "cfbs init". This can be a branch, a full version number, or `no` to not add
112+
masterfiles at all.
111113

112114
.br
113115
Binary packages may be downloaded from https://cfengine.com/download/.

0 commit comments

Comments
 (0)