summaryrefslogtreecommitdiff
path: root/src/commandline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-11 21:12:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-11 21:56:22 +0300
commit7cf130e2deb98987925a6682203a4773988daaf9 (patch)
treecf37a87e4fdc5220f0c95cc93c78fa8d6e01daa9 /src/commandline.cpp
parenta75d8e305b43e2797bfd93cd481868d858712146 (diff)
downloadmv-7cf130e2deb98987925a6682203a4773988daaf9.tar.gz
mv-7cf130e2deb98987925a6682203a4773988daaf9.tar.bz2
mv-7cf130e2deb98987925a6682203a4773988daaf9.tar.xz
mv-7cf130e2deb98987925a6682203a4773988daaf9.zip
Add command line option for use default sdl cursor.
Diffstat (limited to 'src/commandline.cpp')
-rw-r--r--src/commandline.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commandline.cpp b/src/commandline.cpp
index 1a7ad7dba..562726a1e 100644
--- a/src/commandline.cpp
+++ b/src/commandline.cpp
@@ -158,6 +158,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' },
{ nullptr, 0, nullptr, 0 }
};
@@ -251,6 +252,10 @@ void parseOptions(const int argc, char *const argv[])
break;
case 'I':
options.ipc = true;
+ break;
+ case 'q':
+ options.defaultCursor = true;
+ break;
default:
break;
}