Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Allow [--] to denote optional -- #31

Closed
felixSchl opened this issue May 13, 2016 · 0 comments
Closed

Allow [--] to denote optional -- #31

felixSchl opened this issue May 13, 2016 · 0 comments

Comments

@felixSchl
Copy link
Owner

felixSchl commented May 13, 2016

Currently this resolves in a parse error, probably due to a bug.

Note, however, that -- is always optional anyway, so [--] is just for emphasis.

@felixSchl felixSchl added this to the Version 0.3.0 milestone May 13, 2016
felixSchl added a commit that referenced this issue May 13, 2016
The syntax is still fairly constrained - but on purpose in order to keep
the `--` the definitive EOA marker. The reason `[--] ARGS` is allowed,
despite not being "correct" is for compatibilites sake.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant