Commit e7d7fa8a authored by Rafał Malinowski's avatar Rafał Malinowski

core: merge printUsage and printKaduOptions

Signed-off-by: Rafał Malinowski's avatarRafał Malinowski <>
parent b7dc99ea
......@@ -136,20 +136,18 @@ void enableSignalHandling();
static void printVersion()
printf("Kadu %s Copyright (c) 2001-2012 Kadu Team\n"
"Kadu %s Copyright (c) 2001-2012 Kadu Team\n"
"Compiled with Qt %s\nRunning on Qt %s\n",
qPrintable(Core::version()), QT_VERSION_STR, qVersion());
static void printUsage()
printf("Usage: kadu [General Options] [Options]\n\n"
"Kadu Instant Messenger\n");
static void printKaduOptions()
printf("\nGeneral Options:\n"
"Usage: kadu [General Options] [Options]\n\n"
"Kadu Instant Messenger\n"
"\nGeneral Options:\n"
" --help Print Kadu options\n"
" --version Print Kadu and Qt version\n"
......@@ -181,7 +179,6 @@ int main(int argc, char *argv[]) try
if (executionArguments.queryUsage())
return 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment