diff options
author | Ariadna Vigo <arivigodr@gmail.com> | 2020-10-01 19:13:28 +0200 |
---|---|---|
committer | Ariadna Vigo <arivigodr@gmail.com> | 2020-10-01 19:13:28 +0200 |
commit | aefc9a19121575c47c30d94203150b39bbcfa742 (patch) | |
tree | 64ac95c45622203123df6d8bc557d914b506ca97 | |
parent | ef8434915ce88c1dbaef9e778e059a21a998398a (diff) |
Documentation for delete mode
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | cras.1 | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -43,7 +43,7 @@ The -t and -T, followed by the task number, mark the task as done or pending, respectively. Adding new tasks to an already existing file is possible by using the -a -option. +option. Deleting tasks is performed by using the -d option. For further usage information, please refer to the cras(1) manual page. @@ -6,7 +6,7 @@ Cras - The Anti-Procrastination Tool .PP .B cras .RB [ \-anov ] -.RB [ \-tT +.RB [ \-dtT .IR num ] .I file .SH DESCRIPTION @@ -30,6 +30,11 @@ overwriting previous contents if it already exists. .B \-o Switch to short-form output. .TP +.BI \-d " num" +Delete task +.I +num. +.TP .BI \-t " num" Mark task .I num @@ -52,6 +57,8 @@ The newly created task list will be readable by Cras only up to the expiry date, which under the default configuration is 24 hours after originally saving it. Use -t to mark a task as done and -T to mark it back as pending. .PP +You may delete tasks by using the -d option followed by its identifying number. +.PP Running Cras with no options outputs the task list. For a summary, use the -o flag; this short-form output is suitable for printing to WM status bars. .SH ENVIRONMENT VARIABLES |