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

Case-Insensitive Command Matching #46

Closed
owenlejeune opened this issue Apr 24, 2020 · 1 comment
Closed

Case-Insensitive Command Matching #46

owenlejeune opened this issue Apr 24, 2020 · 1 comment
Labels

Comments

@owenlejeune
Copy link

Given the commands tree

Aa {
  Bb, cb();
}

I would like to able to enter commands without matching case. Currently, entering the command aa bb results in an "Unknown command" error. I would like to be able to enter the command aa bb and have it execute successfully.

@olofhagsand olofhagsand added the feature Feature request label May 19, 2020
olofhagsand added a commit that referenced this issue Oct 21, 2021
  * See [Case-Insensitive Command Matching](#46)
  * To set cligen ignore case, you must call `cligen_caseignore_set(h, 1)`
  * Note applications using cligen (eg clixon) may have case-sensitive code despite setting this
@olofhagsand
Copy link
Member

Added case-insensitive command matching

  • See Case-Insensitive Command Matching
  • To set cligen ignore case, you must call cligen_caseignore_set(h, 1)
  • Note applications using cligen (eg clixon) may have case-sensitive code despite setting this

Please verify

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