User Tools

Site Tools


command-line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
command-line [2019/11/25 23:18]
admin [-ct]
command-line [2020/01/13 10:10]
admin
Line 64: Line 64:
 |[[#​-cs|-cs]]| <​cost>​ |Modifies the '​Cost'​ for the currently selected task| |[[#​-cs|-cs]]| <​cost>​ |Modifies the '​Cost'​ for the currently selected task|
 |[[#​-ct|-ct]]| <​time>​ |Modifies the '​Completion Time' for the currently selected task| |[[#​-ct|-ct]]| <​time>​ |Modifies the '​Completion Time' for the currently selected task|
-|[[#-d|-d]]| <id> |Sets the '​Dependency(s)'​ for the currently selected task|+|[[#-dp|-dp]]| <id> |Sets the '​Dependency(s)'​ for the currently selected task|
 |[[#​-dd|-dd]]| <date [time]> |Modifies the 'Due Date' (and optionally the time) for the currently selected task| |[[#​-dd|-dd]]| <date [time]> |Modifies the 'Due Date' (and optionally the time) for the currently selected task|
 |[[#​-dt|-dt]]| <​time>​ |Modifies the 'Due Time' for the currently selected task| |[[#​-dt|-dt]]| <​time>​ |Modifies the 'Due Time' for the currently selected task|
Line 241: Line 241:
  
  
-====-d====+====-dp====
 ===Sets the '​Dependency(s)'​ for the currently selected task=== ===Sets the '​Dependency(s)'​ for the currently selected task===
  
-The task ID which follows the -switch must be complete before the current task can be flagged as completed. Stated another way, the specified task is a requirement/​prerequisite for the current task. More than one such tasks can be specified by enclosing the task IDs in a single space-delimited,​ quoted value: ​    +The task ID which follows the -dp switch must be complete before the current task can be flagged as completed. Stated another way, the specified task is a requirement/​prerequisite for the current task. More than one such tasks can be specified by enclosing the task IDs in a single space-delimited,​ quoted value: ​    
-''​todolist -tid 10 -"2 6 7"''​ \\+''​todolist -tid 10 -dp "2 6 7"''​ \\
  
  
Line 261: Line 261:
 See the [[#​-dd|-dd]] switch about the Due Date and Time. This switch allows for setting the time value only. See the [[#​-dd|-dd]] switch about the Due Date and Time. This switch allows for setting the time value only.
  
-This switch ​also supports ​a +/- prefix to add/​subtract to the time, but the time must be in '​Fractions of a day'. +This switch ​does not currently support ​a +/- prefix to add/​subtract to the time. Support for this is coming ​in 7.3.
- +
-eg. To add hours to the Due Time use '-dt +0.125'​ where '​0.125'​ == '3 / 24'. +
  
 ====-f==== ====-f====
command-line.txt · Last modified: 2020/01/13 10:10 by admin