From 55ec8a2a4d1c9453e9ba5b27bf8542fa4d586939 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Fri, 21 Aug 2009 15:38:43 -0300 Subject: Removed redundant PATHSPLITTER macro, using the already definied PATH_SPLITTER one instead. --- main.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 14ebad64d..0c14e06aa 100644 --- a/main.cpp +++ b/main.cpp @@ -75,11 +75,6 @@ QMap getCommandLineArgs(int argc, char** argv) void printUsage(const GeneratorList& generators) { - #if defined(Q_OS_WIN32) - #define PATHSPLITTER ";" - #else - #define PATHSPLITTER ":" - #endif QTextStream s(stdout); s << "Usage:\n " << "generator [options] header-file typesystem-file\n\n" @@ -90,8 +85,8 @@ void printUsage(const GeneratorList& generators) generalOptions.insert("help", "Display this help and exit"); generalOptions.insert("no-suppress-warnings", "Show all warnings"); generalOptions.insert("output-directory=[dir]", "The directory where the generated files will be written"); - generalOptions.insert("include-paths=[" PATHSPLITTER "" PATHSPLITTER "...]", "Include paths used by the C++ parser"); - generalOptions.insert("typesystem-paths=[" PATHSPLITTER "" PATHSPLITTER "...]", "Paths used when searching for typesystems"); + generalOptions.insert("include-paths=[" PATH_SPLITTER "" PATH_SPLITTER "...]", "Include paths used by the C++ parser"); + generalOptions.insert("typesystem-paths=[" PATH_SPLITTER "" PATH_SPLITTER "...]", "Paths used when searching for typesystems"); generalOptions.insert("documentation-only", "Do not generates any code, just the documentation"); generalOptions.insert("license-file=[licensefile]", "File used for copyright headers of generated files"); generalOptions.insert("version", "Output version information and exit"); -- cgit v1.2.3