aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2024-04-22 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2024-04-22 00:00:00 +0000
commit0c3e0bfc51c379955fc1e1dd6ee0c5eff77c05a6afc11730761318f8cd349ad8 (patch)
tree3e57e9b91e287d586b033b0e0d1acfecd0ec2e4c2e30c037149a19e9f1611d39 /src/cli.rs
parent6109c34b3fabba47700cbdfbeb567760083702709f569302f6de40cd0875250e (diff)
downloadhitomezashi-rs-0c3e0bfc51c379955fc1e1dd6ee0c5eff77c05a6afc11730761318f8cd349ad8.tar.gz
hitomezashi-rs-0c3e0bfc51c379955fc1e1dd6ee0c5eff77c05a6afc11730761318f8cd349ad8.zip
Change cli struct for a better manual
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs4
1 files changed, 2 insertions, 2 deletions
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)]