diff options
| author | Barton E. Schaefer <schaefer@zsh.org> | 2015-09-23 23:16:38 -0700 |
|---|---|---|
| committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-09-23 23:16:38 -0700 |
| commit | 8d5c0c77609d814de7c0749602a595236f76b487 (patch) | |
| tree | b84130a16cb3bed3710daaa748d915b09c55695b /Functions/Misc | |
| parent | unposted: Followup to 36586: Change C99 comment syntax to the C89 syntax. (diff) | |
| download | zsh-8d5c0c77609d814de7c0749602a595236f76b487.tar zsh-8d5c0c77609d814de7c0749602a595236f76b487.tar.gz zsh-8d5c0c77609d814de7c0749602a595236f76b487.tar.bz2 zsh-8d5c0c77609d814de7c0749602a595236f76b487.tar.lz zsh-8d5c0c77609d814de7c0749602a595236f76b487.tar.xz zsh-8d5c0c77609d814de7c0749602a595236f76b487.tar.zst zsh-8d5c0c77609d814de7c0749602a595236f76b487.zip | |
36604: fix getopts+shift calculation
Diffstat (limited to 'Functions/Misc')
| -rw-r--r-- | Functions/Misc/zrecompile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/zrecompile b/Functions/Misc/zrecompile index 8fe990086..d9fc55020 100644 --- a/Functions/Misc/zrecompile +++ b/Functions/Misc/zrecompile @@ -52,7 +52,7 @@ while getopts ":tqp" opt; do fi esac done -shift OPTIND-${#tmp:-1} +shift OPTIND-${#tmp}-1 if [[ -n $check ]]; then ret=1 |
