summaryrefslogtreecommitdiffstats
path: root/util/qlalr/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'util/qlalr/main.cpp')
-rw-r--r--util/qlalr/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/qlalr/main.cpp b/util/qlalr/main.cpp
index 7c1607e..acfb7a5 100644
--- a/util/qlalr/main.cpp
+++ b/util/qlalr/main.cpp
@@ -3,7 +3,7 @@
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Nokia Corporation (qt-info@nokia.com)
**
-** This file is part of the QLALR project on Qt Labs.
+** This file is part of the utils of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage
@@ -64,7 +64,7 @@ static void help_me ()
<< " --no-debug\t\tno debug information" << endl
<< " --no-lines\t\tno #line directives" << endl
<< " --dot\t\t\tgenerate a graph" << endl
- << " --copyright\t\tadd the Qt copyright header" << endl
+ << " --troll\t\tadd the Trolltech copyright header" << endl
<< endl;
exit (0);
}
@@ -77,7 +77,7 @@ int main (int argc, char *argv[])
bool generate_report = false;
bool no_lines = false;
bool debug_info = true;
- bool copyright = false;
+ bool troll_copyright = false;
QString file_name = 0;
QStringList args = app.arguments ();
@@ -100,8 +100,8 @@ int main (int argc, char *argv[])
else if (arg == QLatin1String ("--no-debug"))
debug_info = false;
- else if (arg == QLatin1String ("--copyright") || arg == QLatin1String ("--troll"))
- copyright = true;
+ else if (arg == QLatin1String ("--troll"))
+ troll_copyright = true;
else if (file_name.isEmpty ())
file_name = arg;
@@ -142,7 +142,7 @@ int main (int argc, char *argv[])
CppGenerator gen (p, grammar, aut, generate_report);
gen.setDebugInfo (debug_info);
- gen.setCopyright (copyright);
+ gen.setTrollCopyright (troll_copyright);
gen ();
if (generate_dot)