Skip to content

Commit

Permalink
Clean up CLI args
Browse files Browse the repository at this point in the history
  • Loading branch information
rgwood committed Jan 21, 2024
1 parent 7c92092 commit 1398445
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ use systemctl_tui::{
#[derive(Parser, Debug)]
#[command(version = version(), about = "A simple TUI for systemd services")]
struct Args {
/// Enable performance tracing (in Chromium Event JSON format)
#[clap(short, long)]
trace: bool,
/// The scope of the services to display
#[clap(short, long, default_value = "all")]
scope: Scope,
/// Enable performance tracing (in Chromium Event JSON format)
#[clap(short, long)]
trace: bool,
}

#[derive(Parser, Debug, ValueEnum, Clone)]
Expand Down

0 comments on commit 1398445

Please sign in to comment.