Aligned "todo.sh do" usage message with existing support of passing multiple numbers.

This commit is contained in:
Ingo Karkat
2010-05-25 09:37:18 +02:00
parent 2a65615c7a
commit edac86a94d
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ test_description='do functionality
test_todo_session 'do usage' <<EOF test_todo_session 'do usage' <<EOF
>>> todo.sh do B B >>> todo.sh do B B
usage: todo.sh do ITEM# usage: todo.sh do ITEM#[, ITEM#, ITEM#, ...]
=== 1 === 1
EOF EOF

View File

@@ -765,7 +765,7 @@ case $action in
fi;; fi;;
"do" ) "do" )
errmsg="usage: $TODO_SH do ITEM#" errmsg="usage: $TODO_SH do ITEM#[, ITEM#, ITEM#, ...]"
# shift so we get arguments to the do request # shift so we get arguments to the do request
shift; shift;