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

Problem with CLI commands using angle brackets nested inside curly braces #3379

Open
rwestphal opened this issue Nov 26, 2018 · 0 comments
Open
Assignees
Labels

Comments

@rwestphal
Copy link
Member

Example command to illustrate the problem:
"show configuration running [{<json|xml>|with-defaults}]"

Testing this command in the CLI I got this:

ripd# show configuration running json    
  with-defaults  Show default values
  xml            Change output format to XML
  <cr>

In the command above, the expected behavior would be to accept either json or xml only once. The CLI shouldn't accept both options as <json|xml> should be counted a single option within the curly braces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants