summaryrefslogtreecommitdiff
path: root/src/commandline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-25 22:13:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-25 22:13:12 +0300
commitc2b3279615398942adce087119bde9e4fcfd9ab0 (patch)
tree21b43a51e437f08ef661c7095facd16d0ad72518 /src/commandline.cpp
parentfe64e7204c8ab7b91f36c305cce9f82e92792cb9 (diff)
downloadplus-c2b3279615398942adce087119bde9e4fcfd9ab0.tar.gz
plus-c2b3279615398942adce087119bde9e4fcfd9ab0.tar.bz2
plus-c2b3279615398942adce087119bde9e4fcfd9ab0.tar.xz
plus-c2b3279615398942adce087119bde9e4fcfd9ab0.zip
Remove command line option --default-cursor and add option --hide-cursor.s20170725
Diffstat (limited to 'src/commandline.cpp')
-rw-r--r--src/commandline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commandline.cpp b/src/commandline.cpp
index dc939786d..e1f7ebc20 100644
--- a/src/commandline.cpp
+++ b/src/commandline.cpp
@@ -162,7 +162,7 @@ void parseOptions(const int argc, char *const argv[])
{ "renderer", required_argument, nullptr, 'r' },
{ "server-type", required_argument, nullptr, 'y' },
{ "enable-ipc", no_argument, nullptr, 'I' },
- { "default-cursor", no_argument, nullptr, 'q' },
+ { "hide-cursor", no_argument, nullptr, 'q' },
{ "error", no_argument, nullptr, 'e' },
{ "validate", no_argument, nullptr, 'V' },
{ nullptr, 0, nullptr, 0 }
@@ -260,7 +260,7 @@ void parseOptions(const int argc, char *const argv[])
options.ipc = true;
break;
case 'q':
- options.defaultCursor = true;
+ options.hideCursor = true;
break;
case 'e':
options.error = true;