diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2024-04-22 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2024-04-22 00:00:00 +0000 |
commit | 0c3e0bfc51c379955fc1e1dd6ee0c5eff77c05a6afc11730761318f8cd349ad8 (patch) | |
tree | 3e57e9b91e287d586b033b0e0d1acfecd0ec2e4c2e30c037149a19e9f1611d39 /src | |
parent | 6109c34b3fabba47700cbdfbeb567760083702709f569302f6de40cd0875250e (diff) | |
download | hitomezashi-rs-0c3e0bfc51c379955fc1e1dd6ee0c5eff77c05a6afc11730761318f8cd349ad8.tar.gz hitomezashi-rs-0c3e0bfc51c379955fc1e1dd6ee0c5eff77c05a6afc11730761318f8cd349ad8.zip |
Change cli struct for a better manual
Diffstat (limited to 'src')
-rw-r--r-- | src/cli.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)] |