Commit 692af4f3 authored by David Faure's avatar David Faure
Browse files

fix syntax in previous commit

parent 91bf543e
......@@ -182,7 +182,7 @@ foreach my $file (@ARGV) {
my $description = $4;
my $defaultValue = $5;
my $trail = "";
if ($name =~ /([\w-_]*) <(.*)>/) { # "stylesheet <xsl>"
if ($name =~ /([\w\-_]*) <(.*)>/) { # "stylesheet <xsl>"
$name = $1;
$trail = ", QLatin1String(\"$2\")";
}
......@@ -217,7 +217,7 @@ foreach my $file (@ARGV) {
s/${args}\->usage\s*\(\)/parser.showHelp()/;
s/${args}\->clear\s*\(\);//;
s/KCmdLineArgs::usage\s*\(\)/parser.showHelp()/;
if (/arguments?\(\"([\w-_]*)/ || /isSet\(\"([\w-_]*)/) {
if (/arguments?\(\"([\w\-_]*)/ || /isSet\(\"([\w\-_]*)/) {
my $optionName = $1;
if (defined $negatedOptions{"no$optionName"}) {
s/$/\/\/ TODO: negate check (and ensure nobody passes the no-op --$optionName argument)/;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment