Skip to content

Commit

Permalink
Merge pull request #2 from dineshsaini/main
Browse files Browse the repository at this point in the history
modified condition fixed
  • Loading branch information
grayphi authored Oct 10, 2021
2 parents 25db982 + b06d07b commit 3a7d86e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions annote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
###############################################################################

__NAME__="annote"
__VERSION__="1.01"
__VERSION__="1.02"

# variables
c_red="$(tput setaf 196)"
Expand Down Expand Up @@ -1662,9 +1662,12 @@ function _parse_args_modify {
push_op_args "$nid"
push_op_args "$tags"
fi
push_op "modify_n"
push_op_args "$nid"
push_op_args "$note"
if [ "x$flag_t" = "x" ] && [ "x$flag_g" = "x" ] && \
[ "x$flag_T" = "x" ]; then
push_op "modify_n"
push_op_args "$nid"
push_op_args "$note"
fi
local n2="$#"
shift_n="$((n1-n2))"
}
Expand Down

0 comments on commit 3a7d86e

Please sign in to comment.