From 867588b4caf35d4954c7b26b7ac070a7a4675cd3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 27 Mar 2012 15:21:57 +0100 Subject: Resolves: rhbz#807316 don't complain that nocrashreport is an unknown option --- desktop/source/app/cmdlineargs.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'desktop/source') diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx index 0bc6312aff1a..037c716308e8 100644 --- a/desktop/source/app/cmdlineargs.cxx +++ b/desktop/source/app/cmdlineargs.cxx @@ -311,7 +311,9 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier ) // primitive tools that /bin/sh offers, ignore them here if (!oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("backtrace")) && !oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("strace")) && - !oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("valgrind"))) + !oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("valgrind")) && + //ignore additional legacy options that don't do anything anymore + !oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("nocrashreport"))) { fprintf(stderr, "Unknown option %s\n", rtl::OUStringToOString(aArg, osl_getThreadTextEncoding()).getStr()); -- cgit