diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-05-11 11:43:39 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-05-11 11:43:39 (GMT) |
commit | 0f3a48850529e84c51e6ae0c23544f9cf8fca846 (patch) | |
tree | bab76a64c552d45a208f028874c6e4d413926990 | |
parent | 12a1662a8cf79ff6fd7bd16ef66f7f1e77edc9e8 (diff) | |
download | Qt-0f3a48850529e84c51e6ae0c23544f9cf8fca846.zip Qt-0f3a48850529e84c51e6ae0c23544f9cf8fca846.tar.gz Qt-0f3a48850529e84c51e6ae0c23544f9cf8fca846.tar.bz2 |
Update the --help output of qdbusxml2cpp.
Don't say we produce output when no options are passed if we don't.
Task-number: 222778
Reviewed-by: Trust Me
-rw-r--r-- | tools/qdbus/qdbusxml2cpp/qdbusxml2cpp.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/qdbus/qdbusxml2cpp/qdbusxml2cpp.cpp b/tools/qdbus/qdbusxml2cpp/qdbusxml2cpp.cpp index a871fe4..d7dab0b 100644 --- a/tools/qdbus/qdbusxml2cpp/qdbusxml2cpp.cpp +++ b/tools/qdbus/qdbusxml2cpp/qdbusxml2cpp.cpp @@ -82,7 +82,6 @@ static QStringList wantedInterfaces; static const char help[] = "Usage: " PROGRAMNAME " [options...] [xml-or-xml-file] [interfaces...]\n" "Produces the C++ code to implement the interfaces defined in the input file.\n" - "If no options are given, the code is written to the standard output.\n" "\n" "Options:\n" " -a <filename> Write the adaptor code to <filename>\n" @@ -99,7 +98,10 @@ static const char help[] = "If the file name given to the options -a and -p does not end in .cpp or .h, the\n" "program will automatically append the suffixes and produce both files.\n" "You can also use a colon (:) to separate the header name from the source file\n" - "name, as in '-a filename_p.h:filename.cpp'.\n"; + "name, as in '-a filename_p.h:filename.cpp'.\n" + "\n" + "If you pass a dash (-) as the argument to either -p or -a, the output is written\n" + "to the standard output\n"; static const char includeList[] = "#include <QtCore/QByteArray>\n" |