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:
parent
65190b8752
commit
db6e905cbc
1 changed files with 1 additions and 0 deletions
|
@ -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!(),
|
||||
_ => (),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue