-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Adding new options flags
Bee edited this page Oct 16, 2020
·
1 revision
Do you want to add a new flag, like rustscan --new-flag
?
Here's the flow:
- Add the option to the Config struct
- If the new flag is Optional (without a default), add it to the
merge_optional!
call here. - Otherwise, add it to the
merge_required!
call here.