Skip to content

Conversation

@Davoodeh
Copy link

I also suggest a change in behavior in favor of a cleaner parsing.

In my opinion it's okay to ignore -h in favor of other flags (meaning ignore help if after a valid flag like -c).

In that case, removing the second if [ CLEAN ]; clean & exit can happen and be replaced by a simple -c) clean && exit 0 ;; in the flag loop.

Moreover, alternative is not descriptive, I suggest adding --no-autoreconf to the flag list for that option.

@Davoodeh Davoodeh changed the title Remove getopt dependency Remove getopt dependency from ./autogen.sh Mar 28, 2025
@Davoodeh
Copy link
Author

Davoodeh commented Apr 3, 2025

Closing in favor of #25.

@Davoodeh Davoodeh closed this Apr 3, 2025
@Davoodeh Davoodeh deleted the rm-getopt-autogen branch April 3, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant