Added arm to match statement for waranty in main

Added an arm to the match statement for parsing flags in main.

Using the pattern and hopefully ongoing convention of making
unimplemented arms indicated by using the unimplemented!() macro.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2023-06-09 17:25:15 +02:00
parent 65190b8752
commit db6e905cbc
Signed by: cafkafk
GPG key ID: CDDC792F655251ED

View file

@ -37,6 +37,7 @@ fn main() {
let config = Config::new(&args.config);
match &args {
args if args.license == true => unimplemented!(),
args if args.warranty == true => unimplemented!(),
args if args.code_of_conduct == true => unimplemented!(),
_ => (),
}