From 24cc12e043aa6c60ba7ddbebe8e4ba9bf819697a Mon Sep 17 00:00:00 2001 From: Hummer12007 Date: Mon, 28 Mar 2016 22:26:41 +0300 Subject: [PATCH] Added -R option to getopt opt_string --- swaygrab/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swaygrab/main.c b/swaygrab/main.c index 6ba8fb3e0..962909570 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; }