From 22d313f262bc9b991f36a93a147300dd43217bb7 Mon Sep 17 00:00:00 2001 From: Dmitry Klimov Date: Sat, 12 May 2012 21:52:03 +0200 Subject: Make release modifier works as expected when autorepeat is enabled --- options.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'options.c') diff --git a/options.c b/options.c index 82e6d10..18487a8 100644 --- a/options.c +++ b/options.c @@ -42,6 +42,7 @@ int poll_rc = 0; int have_to_show_binding = 0; int have_to_get_binding = 0; int have_to_start_as_daemon = 1; +int detectable_ar = 0; char *geom = NULL; @@ -158,6 +159,11 @@ get_options (int argc, char **argv) { have_to_start_as_daemon = 0; } + else if (strcmp (argv[i], "-sd") == 0 + || strcmp (argv[i], "--detectable-ar") == 0) + { + detectable_ar = 1; + } else { show_help (); -- cgit v1.2.3-70-g09d2