aboutsummaryrefslogtreecommitdiffstats
path: root/examples/functions/which
diff options
context:
space:
mode:
Diffstat (limited to 'examples/functions/which')
-rw-r--r--examples/functions/which2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/functions/which b/examples/functions/which
index 54ace77..ca33703 100644
--- a/examples/functions/which
+++ b/examples/functions/which
@@ -6,7 +6,7 @@
which()
{
- local aflag sflag ES a
+ local aflag sflag ES a opt
OPTIND=1
while builtin getopts as opt ; do