Fixed erroneous hide/show comments.
This commit is contained in:
8
todo.sh
8
todo.sh
@@ -289,7 +289,7 @@ do
|
|||||||
## HIDE_CONTEXT_NAMES starts at zero (false); increment it to one
|
## HIDE_CONTEXT_NAMES starts at zero (false); increment it to one
|
||||||
## (true) the first time this flag is seen. Each time the flag
|
## (true) the first time this flag is seen. Each time the flag
|
||||||
## is seen after that, increment it again so that an even
|
## is seen after that, increment it again so that an even
|
||||||
## number hides project names and an odd number shows project
|
## number shows context names and an odd number hides context
|
||||||
## names.
|
## names.
|
||||||
: $(( HIDE_CONTEXT_NAMES++ ))
|
: $(( HIDE_CONTEXT_NAMES++ ))
|
||||||
if [ $(( $HIDE_CONTEXT_NAMES % 2 )) -eq 0 ]
|
if [ $(( $HIDE_CONTEXT_NAMES % 2 )) -eq 0 ]
|
||||||
@@ -305,7 +305,7 @@ do
|
|||||||
## HIDE_PROJECT_NAMES starts at zero (false); increment it to one
|
## HIDE_PROJECT_NAMES starts at zero (false); increment it to one
|
||||||
## (true) the first time this flag is seen. Each time the flag
|
## (true) the first time this flag is seen. Each time the flag
|
||||||
## is seen after that, increment it again so that an even
|
## is seen after that, increment it again so that an even
|
||||||
## number hides project names and an odd number shows project
|
## number shows project names and an odd number hides project
|
||||||
## names.
|
## names.
|
||||||
: $(( HIDE_PROJECT_NAMES++ ))
|
: $(( HIDE_PROJECT_NAMES++ ))
|
||||||
if [ $(( $HIDE_PROJECT_NAMES % 2 )) -eq 0 ]
|
if [ $(( $HIDE_PROJECT_NAMES % 2 )) -eq 0 ]
|
||||||
@@ -339,8 +339,8 @@ do
|
|||||||
## HIDE_PRIORITY_LABELS starts at zero (false); increment it to one
|
## HIDE_PRIORITY_LABELS starts at zero (false); increment it to one
|
||||||
## (true) the first time this flag is seen. Each time the flag
|
## (true) the first time this flag is seen. Each time the flag
|
||||||
## is seen after that, increment it again so that an even
|
## is seen after that, increment it again so that an even
|
||||||
## number hides project names and an odd number shows project
|
## number shows priority labels and an odd number hides priority
|
||||||
## names.
|
## labels.
|
||||||
: $(( HIDE_PRIORITY_LABELS++ ))
|
: $(( HIDE_PRIORITY_LABELS++ ))
|
||||||
if [ $(( $HIDE_PRIORITY_LABELS % 2 )) -eq 0 ]
|
if [ $(( $HIDE_PRIORITY_LABELS % 2 )) -eq 0 ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user