diff options
author | Marcin Puc <tranzystorek.io@protonmail.com> | 2023-09-20 12:40:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-20 18:40:33 +0800 |
commit | 067b7988a651440cf1991b70d4030cc7a3df42e8 (patch) | |
tree | dccf23f984cb102dce4c3f6c7da125ae13ec99dc /src | |
parent | c747de479820e4c668895cb5a052a1588faf84a3 (diff) |
Add missing version flag to CLI (#290)
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 61b1095..b6a9a79 100644 --- a/src/main.rs +++ b/src/main.rs @@ -34,7 +34,7 @@ use ratatui::backend::{Backend, CrosstermBackend}; const DISPLAY_DELTA: Duration = Duration::from_millis(1000); #[derive(Parser, Debug)] -#[command(name = "bandwhich")] +#[command(name = "bandwhich", version)] pub struct Opt { #[arg(short, long)] /// The network interface to listen on, eg. eth0 |