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

Add support for variable prefix #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoakimSoderberg
Copy link

It is currently not possible to use an option or command name that happesn to be
a C keyword. So for example trying to have a command named "register" will fail
with a compilation error.

This introduces support for setting a prefix for the variable names defined
in the struct. So for example using prefix _ would mean you access
the command via args._register instead.

It is currently not possible to use an option or command name that happesn to be
a C keyword. So for example trying to have a command named "register" will fail
with a compilation error.

This introduces support for setting a `prefix` for the variable names defined
in the struct. So for example using prefix `_` would mean you access
the command via `args._register` instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant