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 version info support using clap #113

Open
lvillis opened this issue Dec 16, 2024 · 0 comments
Open

Add version info support using clap #113

lvillis opened this issue Dec 16, 2024 · 0 comments

Comments

@lvillis
Copy link

lvillis commented Dec 16, 2024

Description

bpftop currently lacks a way to display its version. Running the binary always starts the TUI interface, and there’s no support for options like -V, -v, or --version.

Proposal

Integrate the clap library to add basic argument parsing, including a version flag. This would allow users to check the version without launching the TUI.

Why It's Needed

Adding a version flag improves usability and aligns with common CLI tool behavior.

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

No branches or pull requests

1 participant