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

Put the usage in a constant #2

Open
amtoine opened this issue Jun 11, 2022 · 0 comments
Open

Put the usage in a constant #2

amtoine opened this issue Jun 11, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@amtoine
Copy link
Owner

amtoine commented Jun 11, 2022

The usage message, e.g. a2n-s-battery [-hcp] for the battery script, is defined multiple times.
This is error prone when changing it.

This issue proposes to move the usage to a global constant, which cannot be accessed from the outside, and use it in the usage and the help functions.

@amtoine amtoine self-assigned this Jun 11, 2022
@amtoine amtoine added the enhancement New feature or request label Jun 11, 2022
@amtoine amtoine removed their assignment Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant