diff options
author | johannst <johannes.stoelp@gmail.com> | 2021-05-17 09:31:49 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2021-05-17 09:31:49 +0200 |
commit | 78b0d71f26c2660ca4a55926ce1420ca3902affa (patch) | |
tree | 88e5fd6cb2b2acaeec0f0abd6f47434c9c7028ac /src | |
parent | 66e190555b3570da3f547efa33f3ab89d0388582 (diff) | |
download | notes-78b0d71f26c2660ca4a55926ce1420ca3902affa.tar.gz notes-78b0d71f26c2660ca4a55926ce1420ca3902affa.zip |
bash: fixed reset of OPTIND
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/bash.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/bash.md b/src/tools/bash.md index 6217e8f..2ce0523 100644 --- a/src/tools/bash.md +++ b/src/tools/bash.md @@ -129,7 +129,7 @@ function parse_args() { esac done # users responsibility to reset OPTIND - OPTIND=0 + OPTIND=1 } parse_args -f xxx -c |