From 0c3e0bfc51c379955fc1e1dd6ee0c5eff77c05a6afc11730761318f8cd349ad8 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Mon, 22 Apr 2024 00:00:00 +0000 Subject: Change cli struct for a better manual --- src/cli.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cli.rs b/src/cli.rs index cfd36b7..8bb8004 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -20,7 +20,7 @@ use clap::Parser; use std::ops::RangeInclusive; #[derive(Parser)] -#[command(version, about, long_about = None)] // Read from `Cargo.toml` +#[command(version, about, author, long_about = None)] // Read from `Cargo.toml` struct Cli { /// Pattern width #[arg(value_parser = dimension_in_range)] @@ -30,7 +30,7 @@ struct Cli { #[arg(value_parser = dimension_in_range)] height: usize, - /// Set skew + /// Set skew. Skew values near 0 or 1 generate orderly patterns. Skew values near 0.5 generate chaotic patterns. #[arg(short, long)] #[arg(default_value_t = 0.5)] #[arg(value_parser = skew_in_range)] -- cgit v1.2.3