From 4260a71d22f991f76255e8459ead3e460350fc85 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 4 May 2021 21:53:38 +0200 Subject: qmicli,dpm: fix GOptionEntry for --dpm-open-port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [85/146] Compiling C object src/qmicli/qmicli.p/qmicli-dpm.c.o ../src/qmicli/qmicli-dpm.c:58:5: warning: missing initializer for field ‘arg_description’ of ‘GOptionEntry’ {aka ‘struct _GOptionEntry’} [-Wmissing-field-initializers] 58 | }, | ^ --- src/qmicli/qmicli-dpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/qmicli/qmicli-dpm.c b/src/qmicli/qmicli-dpm.c index dc48fb3..044001e 100644 --- a/src/qmicli/qmicli-dpm.c +++ b/src/qmicli/qmicli-dpm.c @@ -53,7 +53,7 @@ static gboolean noop_flag; static GOptionEntry entries[] = { #if defined HAVE_QMI_MESSAGE_DPM_OPEN_PORT { "dpm-open-port", 0, 0, G_OPTION_ARG_STRING, &open_port_str, - "Open port (allowed-keys: ctrl-ep-type, ctrl-ep-iface-number, ctrl-port-name, hw-data-ep-type, hw-data-ep-iface-number, hw-data-rx-id, hw-data-tx-id, sw-data-ep-type, sw-data-ep-iface-number, sw-data-port-name)" + "Open port (allowed-keys: ctrl-ep-type, ctrl-ep-iface-number, ctrl-port-name, hw-data-ep-type, hw-data-ep-iface-number, hw-data-rx-id, hw-data-tx-id, sw-data-ep-type, sw-data-ep-iface-number, sw-data-port-name)", "[\"key=value,...\"]" }, #endif -- cgit v1.2.3