diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-06-26 03:51:05 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-06-26 03:51:05 +0200 |
commit | 0c70ae886693543d3c39c04b30623830171728ba (patch) | |
tree | 5b64fdd3809b5c14fbf28f5e10da5a0be5e90ccb | |
parent | fix syntax bugs in python version (diff) | |
download | argparser-0c70ae886693543d3c39c04b30623830171728ba.tar.gz argparser-0c70ae886693543d3c39c04b30623830171728ba.tar.bz2 argparser-0c70ae886693543d3c39c04b30623830171728ba.tar.xz |
fix typo in bash version
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/argparser.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argparser.bash b/src/argparser.bash index 871e8ca..8b4a85a 100644 --- a/src/argparser.bash +++ b/src/argparser.bash @@ -96,7 +96,7 @@ function args_option fi elif [ "$1" = null ]; then rc="$(head -n $(( $3 + 1 )) < "${dir}/null" | tail -n 1)" - return (( 1 - $rc )) + return $(( 1 - $rc )) elif [ "$1" = get ]; then shift 2 if [ $# = 0 ]; then |