X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=subcommand;h=6cb53d5010c96227c805c607fc5859a1bcbee62a;hb=5bb6eedeb6a8f26d73aec0ad7f2d451d6a611a3c;hp=561ca1a062a16fa1fd7025be7d5f95c4df33bab6;hpb=4b006b9a403f59daee07d62fdc2553409872f14c;p=gsu.git diff --git a/subcommand b/subcommand index 561ca1a..6cb53d5 100644 --- a/subcommand +++ b/subcommand @@ -96,7 +96,8 @@ gsu_check_arg_count() # [[ -n "$o_c" ]] && echo "The -c option was given with arg $o_c" gsu_getopts() { - local i c tab=' ' cr=' + local -i i + local c c1 c2 tab=' ' cr=' ' gsu_check_arg_count $# 1 1