-r needs an argument

Fixes #16
pull/19/head
Martin Tournoij 4 years ago
parent 79f2a2f504
commit 87d9e18155
No known key found for this signature in database
GPG Key ID: A6258419189EE585

@ -103,7 +103,7 @@ int main(int argc, char* argv[]) {
int repeat = 0;
int ch;
while ((ch = getopt_long(argc, argv, "hs:d:w:l:c:rftgo", longopts, NULL)) != -1)
while ((ch = getopt_long(argc, argv, "hs:d:w:l:c:r:ftgo", longopts, NULL)) != -1)
switch (ch) {
case 's':
size = parse_num(ch, optarg, argv[0]);

Loading…
Cancel
Save