From: Soeren Apel Date: Fri, 29 May 2020 19:24:34 +0000 (+0200) Subject: Fix #1549 by notifying user of wrong input parameter names X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=e23d7aa0d9980c3c269cbddb4cfbb32350d7425c Fix #1549 by notifying user of wrong input parameter names --- 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