Provide bash completion
This commit is contained in:
parent
160bf9929d
commit
08c2ced1d6
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue