From e23d7aa0d9980c3c269cbddb4cfbb32350d7425c Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Fri, 29 May 2020 21:24:34 +0200 Subject: [PATCH] Fix #1549 by notifying user of wrong input parameter names --- pv/session.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pv/session.cpp b/pv/session.cpp index 9ec8bd07..ea3fe07b 100644 --- a/pv/session.cpp +++ b/pv/session.cpp @@ -621,8 +621,12 @@ Session::input_format_options(vector user_spec, * data type. */ auto found = fmt_opts.find(key); - if (found == fmt_opts.end()) + if (found == fmt_opts.end()) { + qCritical() << "Supplied input option" << QString::fromStdString(key) << + "is not a valid option for this input module, it will be ignored!"; continue; + } + shared_ptr