You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: USAGE.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,13 +38,13 @@ todo.sh addto DEST "TEXT TO ADD"
38
38
```
39
39
40
40
### `append`
41
-
Adds TEXT TO APPEND to the end of the task on line ITEM#.
41
+
Adds TEXT TO APPEND to the end of the task on line NR.
42
42
43
43
Quotes optional.
44
44
45
45
```shell
46
-
todo.sh append ITEM#"TEXT TO APPEND"
47
-
todo.sh app ITEM#"TEXT TO APPEND"
46
+
todo.sh append NR"TEXT TO APPEND"
47
+
todo.sh app NR"TEXT TO APPEND"
48
48
```
49
49
50
50
### `archive`
@@ -71,26 +71,26 @@ todo.sh deduplicate
71
71
```
72
72
73
73
### `del`
74
-
Deletes the task on line ITEM# in todo.txt. If TERM specified, deletes only TERM from the task.
74
+
Deletes the task on line NR in todo.txt. If TERM specified, deletes only TERM from the task.
75
75
76
76
```shell
77
-
todo.sh del ITEM# [TERM]
78
-
todo.sh rm ITEM# [TERM]
77
+
todo.sh del NR [TERM]
78
+
todo.sh rm NR [TERM]
79
79
```
80
80
81
81
### `depri`
82
-
Deprioritizes (removes the priority) from the task(s) on line ITEM# in todo.txt.
82
+
Deprioritizes (removes the priority) from the task(s) on line NR in todo.txt.
83
83
84
84
```shell
85
-
todo.sh depri ITEM#[, ITEM#, ITEM#, ...]
86
-
todo.sh dp ITEM#[, ITEM#, ITEM#, ...]
85
+
todo.sh depri NR [NR ...]
86
+
todo.sh dp NR [NR ...]
87
87
```
88
88
89
89
### `do`
90
-
Marks task(s) on line ITEM# as done in todo.txt.
90
+
Marks task(s) on line NR as done in todo.txt.
91
91
92
92
```shell
93
-
todo.sh doITEM#[, ITEM#, ITEM#, ...]
93
+
todo.sh doNR [NR ...]
94
94
```
95
95
96
96
### `help`
@@ -164,34 +164,34 @@ todo.sh lsprj [TERM...]
164
164
```
165
165
166
166
### `move`
167
-
Moves a line from source text file (SRC) to destination text file (DEST). Both source and destination file must be located in the directory defined in the configuration directory. When SRC is not defined it's by default todo.txt.
167
+
Moves line NR from source text file (SRC) to destination text file (DEST). Both source and destination file must be located in the directory defined in the configuration directory. When SRC is not defined it's by default todo.txt.
168
168
169
169
```shell
170
-
todo.sh move ITEM# DEST [SRC]
171
-
todo.sh mv ITEM# DEST [SRC]
170
+
todo.sh move NR DEST [SRC]
171
+
todo.sh mv NR DEST [SRC]
172
172
```
173
173
174
174
### `prepend`
175
-
Adds TEXT TO PREPEND to the beginning of the task on line ITEM#. Quotes optional.
175
+
Adds TEXT TO PREPEND to the beginning of the task on line NR. Quotes optional.
176
176
177
177
```shell
178
-
todo.sh prepend ITEM# "TEXT TO PREPEND"
179
-
todo.sh prep ITEM# "TEXT TO PREPEND"
178
+
todo.sh prepend NR "TEXT TO PREPEND"
179
+
todo.sh prep NR"TEXT TO PREPEND"
180
180
```
181
181
182
182
### `pri`
183
-
Adds PRIORITY to task on line ITEM#. If the task is already prioritized, replaces current priority with new PRIORITY. PRIORITY must be a letter between A and Z.
183
+
Adds PRIORITY to task on line NR. If the task is already prioritized, replaces current priority with new PRIORITY. PRIORITY must be a letter between A and Z.
0 commit comments