aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHummer12007 <hilobakho@gmail.com>2016-03-28 22:26:41 +0300
committerHummer12007 <hilobakho@gmail.com>2016-03-28 22:26:41 +0300
commit24cc12e043aa6c60ba7ddbebe8e4ba9bf819697a (patch)
treeec985213ae4d640baa003057177ee93c7f4a5275
parent6f53322774a55c2887103153b73ff46f8f0634ed (diff)
Added -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;
}