Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make end-of-options delimiter configurable #359

Closed
remkop opened this issue Apr 14, 2018 · 0 comments
Closed

Make end-of-options delimiter configurable #359

remkop opened this issue Apr 14, 2018 · 0 comments

Comments

@remkop
Copy link
Owner

remkop commented Apr 14, 2018

Related to #358.

Currently, the -- (double hyphen) token is the hardcoded end-of-options delimiter. When this token is encountered the remaining command line arguments are treated as positional parameters.

This ticket is to make the end-of-options delimiter configurable. This allows:

  • a different string as the end-of-options delimiter
  • treating -- as a normal token, so applications can have an option named ”--“ or capture this token in a positional parameter
@remkop remkop added this to the 3.0 milestone Apr 14, 2018
@remkop remkop changed the title Add parser option to treat -- as normal token Make end-of-options delimiter configurable Apr 15, 2018
@remkop remkop modified the milestones: 3.0, 3.1 Apr 22, 2018
@remkop remkop modified the milestones: 3.2, 3.3 Jul 6, 2018
@remkop remkop modified the milestones: 3.4, 3.6, 3.5 Aug 3, 2018
@remkop remkop closed this as completed in ecc2e41 Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant