diff --git a/src/stv/mod.rs b/src/stv/mod.rs index 53b787a..27a2ef7 100644 --- a/src/stv/mod.rs +++ b/src/stv/mod.rs @@ -165,8 +165,8 @@ impl STVOptions { let mut flags = Vec::new(); let n_str = N::describe_opt(); if !n_str.is_empty() { flags.push(N::describe_opt()) }; if self.surplus != SurplusMethod::Cincinnati && self.surplus != SurplusMethod::Hare { - if let Some(dps) = self.round_surplus_fractions { flags.push(format!("--round-tvs {}", dps)); } - if let Some(dps) = self.round_values { flags.push(format!("--round-weights {}", dps)); } + if let Some(dps) = self.round_surplus_fractions { flags.push(format!("--round-surplus-fractions {}", dps)); } + if let Some(dps) = self.round_values { flags.push(format!("--round-values {}", dps)); } if let Some(dps) = self.round_votes { flags.push(format!("--round-votes {}", dps)); } } if let Some(dps) = self.round_quota { flags.push(format!("--round-quota {}", dps)); }