--no-actions doesn't take an argument

This commit is contained in:
Scoopta 2020-01-24 23:44:55 -08:00
parent 5ec88a365e
commit 6fb839a903

View File

@ -341,7 +341,7 @@ int main(int argc, char** argv) {
}, },
{ {
.name = "no-actions", .name = "no-actions",
.has_arg = required_argument, .has_arg = no_argument,
.flag = NULL, .flag = NULL,
.val = 'a' .val = 'a'
}, },