Skip to content

Commit

Permalink
refactor: rename print-tui-items config option as as `print-tui-the…
Browse files Browse the repository at this point in the history
…me-items`
  • Loading branch information
fujiapple852 committed Mar 24, 2023
1 parent 04ec4c8 commit e381808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ pub struct Args {

/// Print all TUI theme items and exit
#[clap(long, display_order = 32)]
pub print_tui_items: bool,
pub print_tui_theme_items: bool,

/// The number of report cycles to run
#[clap(short = 'c', long, default_value_t = 10, display_order = 33)]
Expand Down Expand Up @@ -523,7 +523,7 @@ impl TryFrom<(Args, u16)> for TrippyConfig {
#[allow(clippy::too_many_lines)]
fn try_from(data: (Args, u16)) -> Result<Self, Self::Error> {
let (args, pid) = data;
if args.print_tui_items {
if args.print_tui_theme_items {
println!(
"TUI theme color items: {}",
TuiThemeItem::VARIANTS.join(", ")
Expand Down

0 comments on commit e381808

Please sign in to comment.