Improve help information.

This commit is contained in:
2025-12-10 14:21:50 +01:00
parent 0b391ed590
commit be3fd52cfa
2 changed files with 5 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ struct Opt {
test:bool,
#[structopt(help = "Max of the prime to generate or number to test for primality")]
num:usize,
#[structopt(short, long, default_value = "1000", help = "Set a custom sieve size")]
#[structopt(short, long, name = "SIZE", default_value = "1000", help = "Set a custom sieve size")]
sieve:usize,
//#[structopt(short, long, name = "n", default_value = "1", help = "Number of threads to spawn")]
//jobs:u64,