Provide bash completion

This commit is contained in:
Martchus 2016-07-04 23:32:10 +02:00
parent 160bf9929d
commit 08c2ced1d6
4 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,7 @@ include(QtGuiConfig)
include(QtConfig)
include(WindowsResources)
include(AppTarget)
include(ShellCompletion)
# add installs for service and config files
install(FILES ../resources/systemd/${META_PROJECT_NAME}.service

View File

@ -32,7 +32,6 @@ int main(int argc, char *argv[])
// setup the argument parser
ArgumentParser parser;
ConfigArgs configArgs(parser);
parser.setIgnoreUnknownArguments(false);
// parse command line arguments
try {
parser.parseArgs(argc, argv);

View File

@ -40,6 +40,7 @@ include(QtConfig)
include(WindowsResources)
include(WebViewProviderConfig)
include(AppTarget)
include(ShellCompletion)
# create desktop file using previously defined meta data
add_desktop_file()

View File

@ -31,7 +31,6 @@ int main(int argc, char *argv[])
SET_QT_APPLICATION_INFO;
QT_CONFIG_ARGUMENTS qtConfigArgs;
ConfigArgs configArgs(parser);
parser.setIgnoreUnknownArguments(false);
Argument webdirArg("web-dir", '\0', "specifies the directory of the web files");
webdirArg.setCombinable(true);
webdirArg.setRequiredValueCount(1);