mondo: better option parsing #7

Merged
budRich merged 1 commit from dev into master 2018-09-09 18:35:59 +00:00
budRich commented 2018-09-09 18:35:41 +00:00 (Migrated from github.com)

Thanks to @bl0nd, who in PR #6 found an issue with -f|--force option. This should now be fixed, and i rewrote the option parsing part. Trying a new way to define options (options[LONGOPTION]=SHORTOPTION:) where shortoption and colon(s) are optional. This makes it much easier to manage options but might have a (very small) negative impact on execution time.

I also added long options to the docs.

Thanks to @bl0nd, who in PR #6 found an issue with `-f`|`--force` option. This should now be fixed, and i rewrote the option parsing part. Trying a new way to define options (options[LONGOPTION]=SHORTOPTION:) where shortoption and colon(s) are optional. This makes it much easier to manage options but might have a (very small) negative impact on execution time. I also added long options to the docs.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bud/mondo!7
No description provided.