Kaydet (Commit) b0cb633d authored tarafından Andras Timar's avatar Andras Timar

don't warn for -h/-?/-o/-n command line switches

üst 5371a528
......@@ -421,7 +421,8 @@ sal_Bool CommandLineArgs::InterpretCommandLineParameter( const ::rtl::OUString&
}
else if (aArg.toChar() == '-')
{
bDeprecated = true;
if ( aArg.getLength() > 2 ) // -h, -o, -n, -? are still valid
bDeprecated = true;
oArg = ::rtl::OUString(aArg.getStr()+1, aArg.getLength()-1);
}
else
......
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