diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-12 02:40:14 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-12 02:40:14 (GMT) |
commit | 265cb525256be8e6d39058b6427f46e1ae381907 (patch) | |
tree | 589c78b77f3b9241a15d1c0ada282d755a2e01c9 /util/qlalr/main.cpp | |
parent | 39accaec06629da15c073859660fd94c78f1b261 (diff) | |
download | Qt-265cb525256be8e6d39058b6427f46e1ae381907.zip Qt-265cb525256be8e6d39058b6427f46e1ae381907.tar.gz Qt-265cb525256be8e6d39058b6427f46e1ae381907.tar.bz2 |
Update embedded copyright headers.
Reviewed-by: Trust Me
Diffstat (limited to 'util/qlalr/main.cpp')
-rw-r--r-- | util/qlalr/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/qlalr/main.cpp b/util/qlalr/main.cpp index d3a9c7f..7c1607e 100644 --- a/util/qlalr/main.cpp +++ b/util/qlalr/main.cpp @@ -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 - << " --troll\t\tadd the Trolltech copyright header" << endl + << " --copyright\t\tadd the Qt 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 troll_copyright = false; + bool 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 ("--troll")) - troll_copyright = true; + else if (arg == QLatin1String ("--copyright") || arg == QLatin1String ("--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.setTrollCopyright (troll_copyright); + gen.setCopyright (copyright); gen (); if (generate_dot) |