syncqt: Fix -help option
Skip sanity checks if a -help option is detected. Otherwise, syncqt bails out with e.g. You need to specify either -headers or -all option. Change-Id: I49eee48cd1825244cb6d04152734cb0dfa03fc5f Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
6be8efb853
commit
24d5290133
@ -348,6 +348,9 @@ private:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_printHelpOnly)
|
||||||
|
return true;
|
||||||
|
|
||||||
if (!qpaHeadersFilter.empty())
|
if (!qpaHeadersFilter.empty())
|
||||||
m_qpaHeadersRegex = std::regex(qpaHeadersFilter);
|
m_qpaHeadersRegex = std::regex(qpaHeadersFilter);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user