-
Notifications
You must be signed in to change notification settings - Fork 12
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
Help text on Windows misleading #93
Comments
The path is being escaped. I'll look into getting the path in this and other places un-escaped as well. The same for the environment variable notation. |
Tested several different shells in Windows and ways to replace the printed path, but I think it's related to the module used for the commands (cobra). Opened an issue there to get some feedback on it, as it only seems to happen in Windows. |
As per the modules contributor's response, it seems possible to implement a custom type of Flag that would format the Usage text in a different manner, not escaping the backslashes. Will look into how feasible it is to implement it. |
Prints CMSIS_PACK_ROOT value in the index and update-index command descriptions, with a different output based on OS. Addresses Open-CMSIS-Pack#93.
Closing this for now, subscribed to the Cobra issue in case any relevant updates or the pending PR is pushed as not to add such additional complexity (the first part is already done ). |
Describe the bug
On windows the help message for -R option is somewhat confusing
Instead of:
It should be:
To Reproduce
Steps to reproduce the behavior:
Note that this issue might exist in other places too.
With the command
cpackget index -h
(on Windows) there is another misleading output.Instead of:
it could be
I believe the %CMSIS_PACK_ROOT% notation also works on Linux
The text was updated successfully, but these errors were encountered: