summaryrefslogtreecommitdiff
path: root/src/commandline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-08 20:27:17 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-08 20:27:17 +0300
commita0ea4c0ba04425c08c5e9fe15ed70745891f3f8a (patch)
treea668cdc502f965df4cc6eb9e1bb94db1f4f7c964 /src/commandline.cpp
parent652f2cca31626806dc536b4ee3d18aa1d654f569 (diff)
downloadmv-a0ea4c0ba04425c08c5e9fe15ed70745891f3f8a.tar.gz
mv-a0ea4c0ba04425c08c5e9fe15ed70745891f3f8a.tar.bz2
mv-a0ea4c0ba04425c08c5e9fe15ed70745891f3f8a.tar.xz
mv-a0ea4c0ba04425c08c5e9fe15ed70745891f3f8a.zip
Add command line parameter --enable-ipc for enable ipc at start.
Diffstat (limited to 'src/commandline.cpp')
-rw-r--r--src/commandline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commandline.cpp b/src/commandline.cpp
index 55bea5bd3..1a7ad7dba 100644
--- a/src/commandline.cpp
+++ b/src/commandline.cpp
@@ -157,6 +157,7 @@ void parseOptions(const int argc, char *const argv[])
{ "test", required_argument, nullptr, 't' },
{ "renderer", required_argument, nullptr, 'r' },
{ "server-type", required_argument, nullptr, 'y' },
+ { "enable-ipc", no_argument, nullptr, 'I' },
{ nullptr, 0, nullptr, 0 }
};
@@ -248,6 +249,8 @@ void parseOptions(const int argc, char *const argv[])
case 'y':
options.serverType = optarg;
break;
+ case 'I':
+ options.ipc = true;
default:
break;
}