Skip to content

Add more self-explanatory usage message #201

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

Closed
wants to merge 2 commits into from

Conversation

roncapat
Copy link

@roncapat roncapat commented Jan 4, 2017

The help message should tell a pseudo-command like this:
arduino_builder -hardware ... -tools ... -fqbn ... [options] sketch

This can help new user without having to search on the net an example, as initially addressed in issue #78.

Signed-off-by: Patrick Roncagliolo ronca.pat@gmail.com

The help message should tell a pseudo-command like this:
>>> arduino_builder -hardware ... -tools ... -fqbn ...  [options] sketch
This can help new user without having to search on the net an example.

Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
func init() {
flag.Usage = Usage
Copy link
Author

@roncapat roncapat Jan 4, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed to substitute the default flag.Usage() behaviour with a custom one (defined above), which declaration was taken directly from here, and edited as needed.

@CLAassistant
Copy link

CLAassistant commented Apr 9, 2021

CLA assistant check
All committers have signed the CLA.

@roncapat roncapat closed this Nov 7, 2021
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.

2 participants