diff options
-rw-r--r-- | include/functions | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/functions b/include/functions index f94b0811..f37f5f38 100644 --- a/include/functions +++ b/include/functions @@ -496,11 +496,11 @@ INDENT=$1 ;; --result) - shift $(( $# > 0 ? 1 : 0 )) + shift RESULT=$1 ;; --text) - shift $(( $# > 0 ? 1 : 0 )) + shift TEXT=$1 ;; *) @@ -509,7 +509,7 @@ ;; esac # Go to next parameter - shift $(( $# > 0 ? 1 : 0 )) + shift done if [ -z "${RESULT}" ]; then |