mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Enhancement - Supports '--' on the command line
- Using '--' on the command line separates the left hand side, where task is free to interpret arguments in the usual way, and the right hand side, which is then assumed to be part of the task description, and is not interpreted by task.
This commit is contained in:
parent
020604334e
commit
c223d38872
7 changed files with 128 additions and 70 deletions
|
@ -175,6 +175,24 @@
|
|||
</p>
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
<b>
|
||||
Q: How do I use '+word' in a task description, and prevent it
|
||||
from being interpreted as a tag?
|
||||
</b>
|
||||
<br />
|
||||
A: There are several ways to do this. The simplest is to use
|
||||
the '--' argument in the command line, and task will assume
|
||||
that everything afterwards is part of the description. For
|
||||
example:
|
||||
<pre><code>% task add -- +tag</code></pre>
|
||||
Allows the task description to be "+tag". If you use the
|
||||
command:
|
||||
<pre><code>% task <id> edit</code></pre>
|
||||
Then you are free to put (almost) anything in the description
|
||||
field without task interpreting it.
|
||||
</p>
|
||||
<hr>
|
||||
<!--
|
||||
<p>
|
||||
<b>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue