Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

CommandLineUtils does not allow for rest arguments to equal known arguments #479

Closed
Alxandr opened this issue Jul 28, 2014 · 1 comment
Closed

Comments

@Alxandr
Copy link
Contributor

Alxandr commented Jul 28, 2014

The way CommandLineUtils is built today, it does not allow for rest argument to equal any known arguments. This effectively means that any argument that the ApplicationHost knows about, cannot be used by applications running on top of it. For instance, if I create a command line application that uses CommandLineUtils and accepts --version, and then do k run --version, --version is picked up by the ApplicationHost, yet it doesn't display the k --version, nor does it launch my application. It fails with the error message that TODO: Error: unrecognized flag '--version'.

@ChengTian
Copy link
Contributor

dupe of #520

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

2 participants