aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-01-16 13:42:35 +0100
committerAleksander Morgado <aleksander@aleksander.es>2017-01-16 22:16:37 +0100
commitb79bec8d35a314c598991d68da244d759abe22fc (patch)
treef98a57fd947e9955b73a287d5b816fbcb9fec994
parentdf403e33947362aab97f88671987d8d0b190a891 (diff)
downloadexternal_libqmi-b79bec8d35a314c598991d68da244d759abe22fc.zip
external_libqmi-b79bec8d35a314c598991d68da244d759abe22fc.tar.gz
external_libqmi-b79bec8d35a314c598991d68da244d759abe22fc.tar.bz2
qmi-firmware-update: by default no warning messages, only errors
-rw-r--r--src/qmi-firmware-update/qfu-log.c1
-rw-r--r--src/qmi-firmware-update/qfu-main.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/qmi-firmware-update/qfu-log.c b/src/qmi-firmware-update/qfu-log.c
index c3226b1..c37d50c 100644
--- a/src/qmi-firmware-update/qfu-log.c
+++ b/src/qmi-firmware-update/qfu-log.c
@@ -61,7 +61,6 @@ log_handler (const gchar *log_domain,
switch (log_level) {
case G_LOG_LEVEL_WARNING:
log_level_str = "-Warning **";
- err = TRUE;
break;
case G_LOG_LEVEL_CRITICAL:
diff --git a/src/qmi-firmware-update/qfu-main.c b/src/qmi-firmware-update/qfu-main.c
index 2757b89..321a5d5 100644
--- a/src/qmi-firmware-update/qfu-main.c
+++ b/src/qmi-firmware-update/qfu-main.c
@@ -255,7 +255,7 @@ static GOptionEntry context_main_entries[] = {
NULL
},
{ "silent", 'S', 0, G_OPTION_ARG_NONE, &stdout_silent_flag,
- "Run action with no messages in standard output; not even the error/warning ones.",
+ "Run action with no messages in standard output; not even the error ones.",
NULL
},
{ "verbose-log", 'L', 0, G_OPTION_ARG_FILENAME, &verbose_log_str,