summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Brox <tobias@redpill-linpro.com>2022-10-20 20:09:17 +0200
committerTobias Brox <tobias@redpill-linpro.com>2022-10-20 20:09:17 +0200
commitfd49eeb99a0b50cd492e3eba69b974c18c892224 (patch)
treeaf5efdd00876f9d26bf8eca35ced0aec070859b6
parent833d424b3eabe39f60c753784c8f1e27a07d3879 (diff)
downloadcalendar-cli-fd49eeb99a0b50cd492e3eba69b974c18c892224.zip
doc bugfix
-rw-r--r--NEW_CLI.md2
-rwxr-xr-xtests/tests_kal.sh4
2 files changed, 1 insertions, 5 deletions
diff --git a/NEW_CLI.md b/NEW_CLI.md
index 2a5834c..bf9b837 100644
--- a/NEW_CLI.md
+++ b/NEW_CLI.md
@@ -76,7 +76,7 @@ sum_hours will sum the duration of all objects. For tasks and events in the fut
The `pin` subcommand will "pin" one or more todo-items to some specific time on the calendar. Duration will be copied. The tasks will be serialized. If there are conflicting events in the same calendar, the tasks will be put after the conflicting events. No checks will be done to ensure that the tasks ends up within ordinary working hours, outside the night hours or before the due date. Or perhaps some sanity checks should be done ... it will be a lot of cleanup-work to be done if one accidentally forgets "-1" and adds some hundreds of items to the calendar ...
-```kal select --todo --categories=housework --smart-sort --limit=3 pin '2021-12-02 16:00'
+```kal select --todo --categories=housework --smart-sort --limit=3 pin '2021-12-02 16:00'```
### Time tracking
diff --git a/tests/tests_kal.sh b/tests/tests_kal.sh
index d613a11..4d3019d 100755
--- a/tests/tests_kal.sh
+++ b/tests/tests_kal.sh
@@ -1,7 +1,5 @@
#!/bin/bash
-## TODO: all references to calendar-cli should be replaced with references to kal. Work in progress!
-
set -e
########################################################################
@@ -205,8 +203,6 @@ kal select --todo --sort-key='{CATEGORIES.cats[0]:?zzz?}' --sort-key=-CLASS --l
echo "## Editing the task"
kal select --todo --category scripttest edit --set-summary "editing" --add-category "scripttest2"
-## TODO: add tests for multiple sort keys
-
echo "## Verifying that the edits got through"
kal select --todo --category scripttest list
[ $(echo "$output" | wc -l) == 1 ] && echo "## OK: found the todo item we just edited and nothing more"