X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=subcommand;h=6cb53d5010c96227c805c607fc5859a1bcbee62a;hb=5bb6eedeb6a8f26d73aec0ad7f2d451d6a611a3c;hp=e695b588e14e395169f896d7ce1f354e43615f21;hpb=b4093a0d7e090bdea9f69594bbb6ea5023b6a362;p=gsu.git diff --git a/subcommand b/subcommand index e695b58..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 c1 c2 tab=' ' cr=' + local -i i + local c c1 c2 tab=' ' cr=' ' gsu_check_arg_count $# 1 1