Improve CLI-only message

This commit is contained in:
Martchus 2020-04-16 19:52:54 +02:00
parent f3ce0f23ec
commit 911dba870e
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ set(META_GUI_OPTIONAL true)
set(META_JS_SRC_DIR renamingutility)
set(META_VERSION_MAJOR 3)
set(META_VERSION_MINOR 3)
set(META_VERSION_PATCH 6)
set(META_VERSION_PATCH 7)
set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON)
# add project files

View File

@ -13,6 +13,7 @@
#include <c++utilities/application/fakeqtconfigarguments.h>
#endif
#include <c++utilities/application/commandlineutils.h>
#include <c++utilities/io/ansiescapecodes.h>
#include <c++utilities/misc/parseerror.h>
#include <functional>
@ -216,7 +217,7 @@ int main(int argc, char *argv[])
renamingUtilityArg.isPresent());
#else
CMD_UTILS_START_CONSOLE;
cerr << "Application has not been build with Qt widgets GUI support." << endl;
cerr << EscapeCodes::Phrases::Error << "The tag editor has not been built with Qt widgets GUI support. Use --help to show the options of the CLI." << endl;
#endif
} else {
// apply general CLI config (concerns currently only the default time span output format)