mirror of
https://github.com/Noratrieb/badargs.git
synced 2026-01-14 19:55:08 +01:00
making optionality a bool
This commit is contained in:
parent
346c8835cd
commit
a33b81c58e
5 changed files with 47 additions and 34 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue