|
From: | hancooper |
Subject: | Re: Setting variable with getopts |
Date: | Mon, 09 Aug 2021 16:00:14 +0000 |
> Add > local OPTIND > at the top of your function. Things are functioning as expected this time. I think that getopts does not support optional arguments with optional values. Is that correct?
[Prev in Thread] | Current Thread | [Next in Thread] |