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

Add usage string to applications #140

Open
agalbachicar opened this issue Oct 1, 2024 · 0 comments
Open

Add usage string to applications #140

agalbachicar opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@agalbachicar
Copy link
Collaborator

Desired behavior

Applications should have a usage string providing a description of what they do, the main flags and an a sample execution.

Alternatives considered

N/A

Implementation suggestion

Use gflags::SetUsageMessage(kUsageMessage) before calling gflags::ParseCommandLineFlags(&argc, &argv, true) in the applications where kUsageMessage is a constexpr string.

Additional context

See this comment.

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
Status: 🆕 Inbox
Development

No branches or pull requests

1 participant