Skip to content

Commit 1e53458

Browse files
fafik23dannyauble
authored andcommitted
Improve documentation of constraints syntax with brackets
Bug 12295
1 parent 6fb6194 commit 1e53458

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

doc/man/man1/salloc.1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,11 @@ the different requirements contained within the brackets. For example,
280280
either the "rack1" or "rack2" features and two nodes with the "rack3" feature.
281281
The same request without the brackets will try to find a single node that
282282
meets those requirements.
283+
284+
\fBNOTE:\fR Brackets are only reserved for \fBMultiple Counts\fR and
285+
\fBMatching OR\fR syntax.
286+
AND operators require a count for each feature inside square brackets
287+
(i.e. "[quad*2&hemi*1]").
283288
.TP
284289
\fBParenthesis\fR
285290
Parenthesis can be used to group like node features together. For example,

doc/man/man1/sbatch.1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,11 @@ the different requirements contained within the brackets. For example,
315315
either the "rack1" or "rack2" features and two nodes with the "rack3" feature.
316316
The same request without the brackets will try to find a single node that
317317
meets those requirements.
318+
319+
\fBNOTE:\fR Brackets are only reserved for \fBMultiple Counts\fR and
320+
\fBMatching OR\fR syntax.
321+
AND operators require a count for each feature inside square brackets
322+
(i.e. "[quad*2&hemi*1]").
318323
.TP
319324
\fBParenthesis\fR
320325
Parenthesis can be used to group like node features together. For example,

doc/man/man1/srun.1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,11 @@ the different requirements contained within the brackets. For example,
318318
either the "rack1" or "rack2" features and two nodes with the "rack3" feature.
319319
The same request without the brackets will try to find a single node that
320320
meets those requirements.
321+
322+
\fBNOTE:\fR Brackets are only reserved for \fBMultiple Counts\fR and
323+
\fBMatching OR\fR syntax.
324+
AND operators require a count for each feature inside square brackets
325+
(i.e. "[quad*2&hemi*1]").
321326
.TP
322327
\fBParenthesis\fR
323328
Parenthesis can be used to group like node features together. For example,

0 commit comments

Comments
 (0)