From 04a9c12c8b15375899d27064b3013b59fce6cb21 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Mon, 21 Mar 2016 21:36:15 -0700 Subject: [PATCH] Document operator equality --- website/source/docs/jobspec/index.html.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/website/source/docs/jobspec/index.html.md b/website/source/docs/jobspec/index.html.md index 7d277bbc2..2c954a62d 100644 --- a/website/source/docs/jobspec/index.html.md +++ b/website/source/docs/jobspec/index.html.md @@ -353,9 +353,12 @@ The `constraint` object supports the following keys: * `attribute` - Specifies the attribute to examine for the constraint. See the table of attributes [here](/docs/jobspec/interpreted.html#interpreted_node_vars). -* `operator` - Specifies the comparison operator. Defaults to equality, - and can be `=`, `==`, `is`, `!=`, `not`, `>`, `>=`, `<`, `<=`. The - ordering is compared lexically. +* `operator` - Specifies the comparison operator. Defaults to equality, + and can be `=`, `==`, `is`, `!=`, `not`, `>`, `>=`, `<`, `<=`. The + ordering is compared lexically. The following are equivalent: + + * `=`, `==` and `is` + * `!=` and `not` * `value` - Specifies the value to compare the attribute against. This can be a literal value or another attribute.