From 9bac43bf5d4a9a0b8ac1430da65181fd59d4fd44 Mon Sep 17 00:00:00 2001 From: Valerie Date: Fri, 1 Nov 2024 11:09:00 -0400 Subject: [PATCH] added more matches for lesbian 7-stripe variant --- man/pride.6 | 2 +- src/help.rs | 6 ++++-- src/main.rs | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/man/pride.6 b/man/pride.6 index be95857..8a4135f 100644 --- a/man/pride.6 +++ b/man/pride.6 @@ -55,7 +55,7 @@ The 5-stripe lesbian pride flag designed by Emily Gwen in 2018. .Pp VARIANTS .Bl -tag -width Ds -compact -.It Ic 7-color +.It Ic 7, 7-color, 7-stripe The 7-stripe lesbian pride flag designed by Emily Gwen in 2018. .El .It Ic multisexual, m-spec, mspec diff --git a/src/help.rs b/src/help.rs index dcc8ae8..766d44f 100644 --- a/src/help.rs +++ b/src/help.rs @@ -130,7 +130,7 @@ names: => { println!("The gender-nonconforming pride flag.\n\nnames:\n 'gender-nonconforming', 'gendernonconforming', 'gnc'"); }, - "lesbian" + "lesbian" | "wlw" => { println!("The 5-stripe lesbian flag designed by Emily Gwen in 2018. @@ -138,7 +138,9 @@ names: 'lesbian', 'wlw' variants: - 7-color 7-stripe flag, also designed in 2018 by Emily Gwen"); + 7 7-stripe flag, also designed in 2018 by Emily Gwen + 7-color + 7-stripe"); }, diff --git a/src/main.rs b/src/main.rs index 1e596ed..1edc848 100644 --- a/src/main.rs +++ b/src/main.rs @@ -140,7 +140,7 @@ fn main() { Some("lesbian" | "wlw") => { match variant.as_deref() { - Some("7-color") + Some("7" | "7-color" | "7-stripe") => variant::lesbian_7(), _ => flag::lesbian()