docs: --help explanation improved

This commit is contained in:
Jack Wills
2022-10-07 01:44:21 +00:00
parent 3661d696e9
commit 5c9f253695
+2 -3
View File
@@ -5,7 +5,6 @@ use tracing::error;
#[derive(Parser, Debug, Clone, Copy)] #[derive(Parser, Debug, Clone, Copy)]
#[allow(clippy::struct_excessive_bools)] #[allow(clippy::struct_excessive_bools)]
// #[command(help_template = FULL_TEMPLATE)]
#[command(version, about)] #[command(version, about)]
pub struct CliArgs { pub struct CliArgs {
/// Docker update interval in ms, minimum effectively 1000 /// Docker update interval in ms, minimum effectively 1000
@@ -16,11 +15,11 @@ pub struct CliArgs {
#[clap(short = 't')] #[clap(short = 't')]
pub timestamp: bool, pub timestamp: bool,
/// Attempt to colorize the logs /// Attempt to colorize the logs, conflicts with "-r"
#[clap(short = 'c', conflicts_with = "raw")] #[clap(short = 'c', conflicts_with = "raw")]
pub color: bool, 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")] #[clap(short = 'r', conflicts_with = "color")]
pub raw: bool, pub raw: bool,