mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Testing
- Removed unsupported command line constructs.
This commit is contained in:
parent
9d33691cab
commit
a2410bdba9
1 changed files with 16 additions and 9 deletions
25
src/run
25
src/run
|
@ -1,12 +1,15 @@
|
||||||
|
|
||||||
# 2.0.0 command line tests:
|
# 2.0.0 command line tests:
|
||||||
echo
|
|
||||||
echo ./args rc:x rc.debug:1 rc.hyphenate:off list pro:foo "(du<123.due or due.aft:som)" and entry '>'8/31/2011 +2w+1d /pattern/
|
|
||||||
./args rc:x rc.debug:1 rc.hyphenate:off list pro:foo "(du<123.due or due.aft:som)" and entry '>'8/31/2011 +2w+1d /pattern/
|
|
||||||
|
|
||||||
echo
|
# Support dropped for multiple quoted terms.
|
||||||
echo ./args rc:x rc.debug:1 rc.hyphenate:off list "pro:foo (du<123.due or due.aft:som) and entry >8/31/2011 +2w+1d /pattern/"
|
#echo
|
||||||
./args rc:x rc.debug:1 rc.hyphenate:off list "pro:foo (du<123.due or due.aft:som) and entry >8/31/2011 +2w+1d /pattern/"
|
#echo ./args rc:x rc.debug:1 rc.hyphenate:off list pro:foo \"\(du\<123.due or due.aft:som\)\" and entry \'\>\'8/31/2011 +2w+1d /pattern/
|
||||||
|
# ./args rc:x rc.debug:1 rc.hyphenate:off list pro:foo "(du<123.due or due.aft:som)" and entry '>'8/31/2011 +2w+1d /pattern/
|
||||||
|
|
||||||
|
# Support dropped for multiple quoted terms.
|
||||||
|
#echo
|
||||||
|
#echo ./args rc:x rc.debug:1 rc.hyphenate:off list \"pro:foo \(du\<123.due or due.aft:som\) and entry \>8/31/2011 +2w+1d /pattern/\"
|
||||||
|
#./args rc:x rc.debug:1 rc.hyphenate:off list "pro:foo (du<123.due or due.aft:som) and entry >8/31/2011 +2w+1d /pattern/"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo ./args rc:x rc.debug:1 1-3,5 7 or +tag modify pri:H /from/to/g -tag
|
echo ./args rc:x rc.debug:1 1-3,5 7 or +tag modify pri:H /from/to/g -tag
|
||||||
|
@ -25,14 +28,14 @@ echo ./args rc:x rc.debug:1 1234 done pri:H
|
||||||
./args rc:x rc.debug:1 1234 done pri:H
|
./args rc:x rc.debug:1 1234 done pri:H
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo ./args rc:x rc.debug:1 a.b\<c \(one or two\) modify 'quoted string' \'not quoted\' due:eom+1wk+1d
|
echo ./args rc:x rc.debug:1 a.b\<c \(one or two\) modify \'quoted string\' \\'not quoted\\' due:eom+1wk+1d
|
||||||
./args rc:x rc.debug:1 a.b\<c \(one or two\) modify 'quoted string' \'not quoted\' due:eom+1wk+1d
|
./args rc:x rc.debug:1 a.b\<c \(one or two\) modify 'quoted string' \'not quoted\' due:eom+1wk+1d
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 2.4.0 command line tests:
|
# 2.4.0 command line tests:
|
||||||
echo
|
echo
|
||||||
echo ./args rc:~/.taskrc 123-128,140 142 mod pro:'P 1' +home /from/to/g /from/to/ rc.name=value
|
echo ./args rc:~/.taskrc 123-128,140 142 mod pro:\'P 1\' +home /from/to/g /from/to/ rc.name=value
|
||||||
./args rc:~/.taskrc 123-128,140 142 mod pro:'P 1' +home /from/to/g /from/to/ rc.name=value
|
./args rc:~/.taskrc 123-128,140 142 mod pro:'P 1' +home /from/to/g /from/to/ rc.name=value
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
@ -44,6 +47,10 @@ echo ./args /pattern/ or 8ad2e3db-914d-4832-b0e6-72fa04f6e331 limit:10 due.befor
|
||||||
./args /pattern/ or 8ad2e3db-914d-4832-b0e6-72fa04f6e331 limit:10 due.before:eom nex
|
./args /pattern/ or 8ad2e3db-914d-4832-b0e6-72fa04f6e331 limit:10 due.before:eom nex
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo ./args add Buy milk due:'eow - 2d' scheduled:due-1d
|
echo ./args add Buy milk due:\'eow - 2d\' scheduled:due-1d
|
||||||
./args add Buy milk due:'eow - 2d' scheduled:due-1d
|
./args add Buy milk due:'eow - 2d' scheduled:due-1d
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo ./args add Buy milk due:eow-2d scheduled:due-1d
|
||||||
|
./args add Buy milk due:eow-2d scheduled:due-1d
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue