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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user