Fix STVOptions::describe for --min-threshold
This commit is contained in:
parent
b1f2e42ce6
commit
eb3c7d0f53
|
@ -192,7 +192,7 @@ impl STVOptions {
|
|||
if self.bulk_exclude { flags.push("--bulk-exclude".to_string()); }
|
||||
if self.defer_surpluses { flags.push("--defer-surpluses".to_string()); }
|
||||
if !self.immediate_elect { flags.push("--no-immediate-elect".to_string()); }
|
||||
if self.min_threshold != "1" { flags.push(format!("--min-threshold {}", self.min_threshold)); }
|
||||
if self.min_threshold != "0" { flags.push(format!("--min-threshold {}", self.min_threshold)); }
|
||||
if let Some(path) = &self.constraints_path {
|
||||
flags.push(format!("--constraints {}", path));
|
||||
if self.constraint_mode != ConstraintMode::GuardDoom { flags.push(self.constraint_mode.describe()); }
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Yingtong Li,runassudo,NEXUS.localdomain,09.08.2021 19:43,file:///home/runassudo/.config/libreoffice/4;
|
Loading…
Reference in New Issue