Zepmann / lldap-cli

A command line tool for managing LLDAP.
GNU General Public License v3.0
37 stars 7 forks source link

Make sub-command arg parsing actually work #11

Closed tlater-famedly closed 2 weeks ago

tlater-famedly commented 4 months ago

The current script doesn't clear $OPTIND so the various sub-command args don't work. This makes it - among other things - impossible to make "visible" attributes.

Zepmann commented 2 weeks ago

I believe the default value for OPTIND is 1. Therefore, I opt (:wink:) for #12, which is a better way to reset this value. Still, thanks for your contribution and bringing this to my attention!