mirror of
https://github.com/YACReader/yacreader
synced 2025-07-22 23:15:14 -04:00
Fixed build in MacOSX/Qt4
This commit is contained in:
@ -95,12 +95,12 @@ int main(int argc, char * argv[])
|
||||
if (!optlist.isEmpty())
|
||||
{
|
||||
QTextStream parser(stdout);
|
||||
if (optlist.contains("--version") | optlist.contains("-v"))
|
||||
if (optlist.contains("--version") || optlist.contains("-v"))
|
||||
{
|
||||
parser << app.applicationName() << " " << QString(VERSION) << endl << "Copyright 2014 by Luis Angel San Martin Rodriguez" << endl;
|
||||
return 0;
|
||||
}
|
||||
if (optlist.contains("--help") | optlist.contains("-h"))
|
||||
if (optlist.contains("--help") || optlist.contains("-h"))
|
||||
{
|
||||
parser << endl << "Usage: YACReader [File|Directory|Option]" << endl << endl;
|
||||
parser << "Options:" << endl;
|
||||
|
Reference in New Issue
Block a user