diff --git a/src/libs/tgf/application.cpp b/src/libs/tgf/application.cpp index 8a8c400d0..7dd539a6c 100644 --- a/src/libs/tgf/application.cpp +++ b/src/libs/tgf/application.cpp @@ -88,25 +88,25 @@ void GfApplication::initialize(bool bLoggingEnabled, int argc, char **argv) GfLogInfo("\n"); // Register the command line options (to be parsed). - registerOption("h", "help", /* nHasValue = */ false); - registerOption("v", "version", /* nHasValue = */ false); - registerOption("l", "localdir", /* nHasValue = */ true); - registerOption("L", "libdir", /* nHasValue = */ true); - registerOption("B", "bindir", /* nHasValue = */ true); - registerOption("D", "datadir", /* nHasValue = */ true); - registerOption("e", "tracelevel", /* nHasValue = */ true); - registerOption("t", "tracestream", /* nHasValue = */ true); - registerOption("n", "norandom", /* nHasValue = */ false); + registerOption("h", "help", /* nHasValue = */ false); + registerOption("v", "version", /* nHasValue = */ false); + registerOption("lc", "localdir", /* nHasValue = */ true); + registerOption("ld", "libdir", /* nHasValue = */ true); + registerOption("bd", "bindir", /* nHasValue = */ true); + registerOption("dd", "datadir", /* nHasValue = */ true); + registerOption("tl", "tracelevel", /* nHasValue = */ true); + registerOption("ts", "tracestream", /* nHasValue = */ true); + registerOption("nr", "norandom", /* nHasValue = */ false); // Help about the command line options. - addOptionsHelpSyntaxLine("[-l|--localdir ] [-L|--libdir ]"); - addOptionsHelpSyntaxLine("[-B|--bindir ] [-D|--datadir ]"); -#ifdef TRACE_OUT - addOptionsHelpSyntaxLine("[-e|--tracelevel ]" - " [-t|--tracestream stdout|stderr|]"); -#endif addOptionsHelpSyntaxLine("[-v|--version]"); - addOptionsHelpSyntaxLine("[-n|--norandom]"); + addOptionsHelpSyntaxLine("[-lc|--localdir ] [-ld|--libdir ]"); + addOptionsHelpSyntaxLine("[-bd|--bindir ] [-dd|--datadir ]"); +#ifdef TRACE_OUT + addOptionsHelpSyntaxLine("[-tl|--tracelevel ]" + " [-ts|--tracestream stdout|stderr|]"); +#endif + addOptionsHelpSyntaxLine("[-nr|--norandom]"); addOptionsHelpExplainLine ("- locadir : Root dir of the tree where user settings files are stored");