From fd49eeb99a0b50cd492e3eba69b974c18c892224 Mon Sep 17 00:00:00 2001 From: Tobias Brox Date: Thu, 20 Oct 2022 20:09:17 +0200 Subject: doc bugfix --- NEW_CLI.md | 2 +- tests/tests_kal.sh | 4 ---- 2 files changed, 1 insertion(+), 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" -- cgit v1.2.3