Skip to content

Commit

Permalink
docs: --help explanation improved
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Oct 7, 2022
1 parent 3661d69 commit 5c9f253
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/parse_args/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use tracing::error;

#[derive(Parser, Debug, Clone, Copy)]
#[allow(clippy::struct_excessive_bools)]
// #[command(help_template = FULL_TEMPLATE)]
#[command(version, about)]
pub struct CliArgs {
/// Docker update interval in ms, minimum effectively 1000
Expand All @@ -16,11 +15,11 @@ pub struct CliArgs {
#[clap(short = 't')]
pub timestamp: bool,

/// Attempt to colorize the logs
/// Attempt to colorize the logs, conflicts with "-r"
#[clap(short = 'c', conflicts_with = "raw")]
pub color: bool,

/// Show raw logs, default is to remove ansi formatting
/// Show raw logs, default is to remove ansi formatting, conflicts with "-c"
#[clap(short = 'r', conflicts_with = "color")]
pub raw: bool,

Expand Down

0 comments on commit 5c9f253

Please sign in to comment.