Skip to content

Put the usage in a constant #2

@amtoine

Description

@amtoine

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions