Printing usage message if no ITEM# given to "todo.sh do".

This commit is contained in:
Ingo Karkat
2010-05-25 10:10:09 +02:00
parent edac86a94d
commit 9e5e6aef39
2 changed files with 7 additions and 0 deletions

View File

@@ -12,6 +12,12 @@ usage: todo.sh do ITEM#[, ITEM#, ITEM#, ...]
=== 1
EOF
test_todo_session 'do missing ITEM#' <<EOF
>>> todo.sh do
usage: todo.sh do ITEM#[, ITEM#, ITEM#, ...]
=== 1
EOF
cat > todo.txt <<EOF
smell the uppercase Roses +flowers @outside
notice the sunflowers