Merge pull request #549 from Hummer12007/patch-1

Add -R option to getopt opt_string
This commit is contained in:
Drew DeVault 2016-03-28 16:15:40 -04:00
commit b7b734f311

View File

@ -182,7 +182,7 @@ int main(int argc, char **argv) {
int c; int c;
while (1) { while (1) {
int option_index = 0; int option_index = 0;
c = getopt_long(argc, argv, "hco:vs:r", long_options, &option_index); c = getopt_long(argc, argv, "hco:vs:R:r", long_options, &option_index);
if (c == -1) { if (c == -1) {
break; break;
} }