Aligned verbose message output of tasks with normal task output.
I.e. removed the colon after the ITEM#. Updated tasks are now listed like the 'todo.sh ls' command does, e.g.
42 smell the roses
This is in preparation to eventually use a function factored out from _list() for the verbose task output, which would enable coloring in the verbose message and thus align the verbose message output even more with the normal task output.
This commit is contained in:
@@ -12,7 +12,7 @@ command work, including support for filtering.
|
||||
#
|
||||
test_todo_session 'basic add/list' <<EOF
|
||||
>>> todo.sh add notice the daisies
|
||||
1: notice the daisies
|
||||
1 notice the daisies
|
||||
TODO: 1 added.
|
||||
|
||||
>>> todo.sh list
|
||||
@@ -21,7 +21,7 @@ TODO: 1 added.
|
||||
TODO: 1 of 1 tasks shown
|
||||
|
||||
>>> todo.sh add smell the roses
|
||||
2: smell the roses
|
||||
2 smell the roses
|
||||
TODO: 2 added.
|
||||
|
||||
>>> todo.sh list
|
||||
@@ -48,7 +48,7 @@ EOF
|
||||
|
||||
test_todo_session 'case-insensitive filtering' <<EOF
|
||||
>>> todo.sh add smell the uppercase Roses
|
||||
3: smell the uppercase Roses
|
||||
3 smell the uppercase Roses
|
||||
TODO: 3 added.
|
||||
|
||||
>>> todo.sh list roses
|
||||
@@ -60,7 +60,7 @@ EOF
|
||||
|
||||
test_todo_session 'add with &' <<EOF
|
||||
>>> todo.sh add "dig the garden & water the flowers"
|
||||
4: dig the garden & water the flowers
|
||||
4 dig the garden & water the flowers
|
||||
TODO: 4 added.
|
||||
|
||||
>>> todo.sh list
|
||||
|
||||
Reference in New Issue
Block a user