aboutsummaryrefslogtreecommitdiffstats
path: root/src/argparser.bash
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-26 13:56:18 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-26 13:56:18 +0200
commitd78594e3e4419231f04a6f310fa4a7f6cfcd44bb (patch)
tree8861c77d75d74ce27615bb6bde5236f6128b4e87 /src/argparser.bash
parentm java (diff)
downloadargparser-d78594e3e4419231f04a6f310fa4a7f6cfcd44bb.tar.gz
argparser-d78594e3e4419231f04a6f310fa4a7f6cfcd44bb.tar.bz2
argparser-d78594e3e4419231f04a6f310fa4a7f6cfcd44bb.tar.xz
m bash
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/argparser.bash')
-rw-r--r--src/argparser.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argparser.bash b/src/argparser.bash
index 2c1e58e..2cf062f 100644
--- a/src/argparser.bash
+++ b/src/argparser.bash
@@ -718,7 +718,7 @@ function args_parse
else
(( args_unrecognised_count++ ))
if (( args_unrecognised_count <= 5 )); then
- echo "${args_program}: warning: unrecognised option ${arg}" >> "${args_out}"
+ echo "${args_program}: warning: unrecognised option ${_arg}" >> "${args_out}"
fi
rc=1
fi