-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Improve error reporting in chip-tool when the wrong quotes are used. #24821
Improve error reporting in chip-tool when the wrong quotes are used. #24821
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Boris. This is helpful for people coming in new.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it may help
A small nit, it would have been probably better to have a dedicated method for this task. Something like |
PR #24821: Size comparison from 10a4677 to 089e47a Increases (10 builds for linux, nrfconnect, psoc6, telink)
Decreases (5 builds for bl602, nrfconnect, qpg, telink)
Full report (47 builds for bl602, bl702, cc13x2_26x2, cyw30739, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
In interactive mode, arguments are delimited by single quotes. If our argument init fails, and we have arguments that include mismatched double quotes, there's a good chance the wrong quotes were used in the command, and we should log that.
Done. |
089e47a
to
24ae718
Compare
PR #24821: Size comparison from 653a5c0 to 24ae718 Increases (12 builds for bl602, bl702, cc13x2_26x2, linux, psoc6, telink)
Decreases (4 builds for cc13x2_26x2, psoc6, telink)
Full report (53 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
…roject-chip#24821) * Improve error reporting in chip-tool when the wrong quotes are used. In interactive mode, arguments are delimited by single quotes. If our argument init fails, and we have arguments that include mismatched double quotes, there's a good chance the wrong quotes were used in the command, and we should log that. * Address review comment.
In interactive mode, arguments are delimited by single quotes. If our argument init fails, and we have arguments that include mismatched double quotes, there's a good chance the wrong quotes were used in the command, and we should log that.