-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
use hyphens instead of underscores #1230
Comments
Right. I hate that we aren't using underscores consistently everywhere like in Ada. |
IMHO, hyphens are more comfortable in CLI and are more prevalent. YMMV, of course. 😉 |
Alire incorrectly reports "TOML Keys should use hyphens" error if you accidentally leave off the table tag, for instance,
Spent too much time tracking this issue. The error should be something like "unknown key, are you missing a table tag? If not, keys at the root level cannot contain underscores." |
The code you provided gives me:
Can you provide a full reproducer? |
Do you need the toml file? Also what version are you running? |
Yes please, and all the files necessary to reproduce the error.
What matters here is the version you are running. |
I'm running version 2.0.1. In the code snippet below, note the table name has been commented out. When I run
Toml file
|
|
@Joebeazelman, could you please open a new issue to track this separately? |
I think USAGE output should be changed. See:
This command runs fine, however:
The text was updated successfully, but these errors were encountered: