docs: --help explanation improved
This commit is contained in:
@@ -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,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user