From 0877dfd5f81fb77c8a0a5fc76ed1091cf98f0987 Mon Sep 17 00:00:00 2001 From: Ronnie Thomas Date: Mon, 30 Mar 2015 20:04:53 +0200 Subject: [PATCH] Fix error messags on cmdline arguments The --print and the --page arguments were showing wrong error messages. This patch fixes it. REVIEW: 123163 --- shell/okular_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/okular_main.cpp b/shell/okular_main.cpp index 6acb937cc..b66b6a5f7 100644 --- a/shell/okular_main.cpp +++ b/shell/okular_main.cpp @@ -138,14 +138,14 @@ Status main(const QStringList &paths, const QString &serializedOptions) if (ShellUtils::showPrintDialog(serializedOptions) && paths.count() > 1) { QTextStream stream(stderr); - stream << i18n( "Error: Can't open more than one document with the --presentation switch" ) << endl; + stream << i18n( "Error: Can't open more than one document with the --print switch" ) << endl; return Error; } if (!ShellUtils::page(serializedOptions).isEmpty() && paths.count() > 1) { QTextStream stream(stderr); - stream << i18n( "Error: Can't open more than one document with the --presentation switch" ) << endl; + stream << i18n( "Error: Can't open more than one document with the --page switch" ) << endl; return Error; }