diff --git a/src/help.rs b/src/help.rs index e048cf1..e0a0c69 100644 --- a/src/help.rs +++ b/src/help.rs @@ -1,5 +1,7 @@ //! help and list text +use std::process::exit; + use crate::VERSION; /// displays the program's help text @@ -156,7 +158,11 @@ names: _ - => { help_text(); } + => { + println!("pride: no help found for {flag}!\n"); + help_text(); + exit(1); + } } } diff --git a/src/main.rs b/src/main.rs index 69793f4..5280d87 100644 --- a/src/main.rs +++ b/src/main.rs @@ -158,8 +158,8 @@ fn main() { Some("pansexual" | "pan") => flag::pansexual(), - Some("polyamory" | "polyamorous" | "poly") - => complex::polyamory(small), +// Some("polyamory" | "polyamorous" | "poly") +// => complex::polyamory(small), Some("polysexual") => flag::polysexual(),