fixup! Parse argv using QCommandLineParser
This commit is contained in:
父節點
f424f7632f
當前提交
781b3f4d69
1
main.cpp
1
main.cpp
@ -37,7 +37,6 @@ int main(int argc, char *argv[])
|
||||
QCommandLineParser parser;
|
||||
parser.addOptions({
|
||||
{"new-instance", "Launch a new instance, ignoring any running ones"},
|
||||
{"kill-instances", "Kill all running instances"},
|
||||
{"config", "Use supplied config dir instead of default"},
|
||||
});
|
||||
parser.addHelpOption();
|
||||
|
載入中…
新增問題並參考
Block a user