mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Documentation: Added '!', the negation operator.
This commit is contained in:
parent
f39ed79389
commit
d91c2b4138
1 changed files with 5 additions and 3 deletions
|
@ -859,14 +859,15 @@ modifier.
|
|||
|
||||
You can use the following operators in filter expressions:
|
||||
|
||||
and or xor Logical operators
|
||||
and or xor ! Logical operators
|
||||
< <= = == != !== >= > Relational operators
|
||||
( ) Precedence
|
||||
|
||||
For example:
|
||||
|
||||
task due.before:eom priority.not:L list
|
||||
task '( due < eom or priority != L )' list
|
||||
task '( due < eom or priority != L )' list
|
||||
task '! ( project:Home or project:Garden )' list
|
||||
|
||||
The
|
||||
.I =
|
||||
|
@ -883,7 +884,8 @@ operators are the negation of
|
|||
.I =
|
||||
and
|
||||
.I ==
|
||||
respectively.
|
||||
respectively. The negation operator is
|
||||
.IR ! .
|
||||
|
||||
Note that the parentheses are required when using a logical operator other than
|
||||
the 'and' operator. The reason is that some reports contain filters that must
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue