mon query ls: Simplify list filtering
commitafa029d34d85aad4d3b547b1d46431809e1b3003
authorPhilip Eklöf <peklof@op5.com>
Mon, 30 Jun 2014 12:48:54 +0000 (30 14:48 +0200)
committerPhilip Eklöf <peklof@op5.com>
Fri, 4 Jul 2014 08:25:25 +0000 (4 10:25 +0200)
tree1608667450bd6395bad411014af7ad64d7bb94b3
parenta62f54ac83c58147f42529370144adde87761642
mon query ls: Simplify list filtering

Previously, to find all hosts which ContactX was *not* added to,
you had to negate a "greater or equal" query, like this:

mon query ls hosts -c name contacts -ge ContactX -n
or,
mon query ls hosts -c name 'contacts>=ContactX' -n

Now, you can *also* do like this:
mon query ls hosts -c name contacts -nct ContactX
or,
mon query ls hosts -c name 'contacts!>=ContactX'

Change-Id: I4addead0c8f7882d81fea35ebe3cb71be0f0287b
Signed-off-by: Philip Eklöf <peklof@op5.com>
apps/libexec/query.ls.sh