aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-03-28 16:15:40 -0400
committerDrew DeVault <sir@cmpwn.com>2016-03-28 16:15:40 -0400
commitb7b734f311aaefba4e5760ac4feaa33631ef5111 (patch)
treeec985213ae4d640baa003057177ee93c7f4a5275
parent6f53322774a55c2887103153b73ff46f8f0634ed (diff)
parent24cc12e043aa6c60ba7ddbebe8e4ba9bf819697a (diff)
Merge pull request #549 from Hummer12007/patch-1
Add -R option to getopt opt_string
-rw-r--r--swaygrab/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaygrab/main.c b/swaygrab/main.c
index 6ba8fb3e..96290957 100644
--- a/swaygrab/main.c
+++ b/swaygrab/main.c
@@ -182,7 +182,7 @@ int main(int argc, char **argv) {
int c;
while (1) {
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) {
break;
}