making optionality a bool

This commit is contained in:
nora 2021-10-01 22:08:20 +02:00
parent 346c8835cd
commit a33b81c58e
5 changed files with 47 additions and 34 deletions

View file

@ -1,6 +1,6 @@
use badargs::arg;
arg!(OutFile: "output", 'o' -> Option<String>);
arg!(OutFile: "output", 'o' -> String, required);
arg!(Force: "force", 'f' -> bool);
arg!(OLevel: "optimize" -> usize);