aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmi-firmware-update/qfu-main.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-01-16 20:07:18 +0100
committerAleksander Morgado <aleksander@aleksander.es>2017-01-16 22:16:38 +0100
commita47f9451b845ca74ee58c881df43223881a62e73 (patch)
treecdb3eca088fcad015a5cf8832707f1e2c11802b7 /src/qmi-firmware-update/qfu-main.c
parent3c129b4bad116d984f14cb42928ecab68726784e (diff)
downloadexternal_libqmi-a47f9451b845ca74ee58c881df43223881a62e73.zip
external_libqmi-a47f9451b845ca74ee58c881df43223881a62e73.tar.gz
external_libqmi-a47f9451b845ca74ee58c881df43223881a62e73.tar.bz2
qmi-firmware-update: QmiDevice open flags are generic
These are no longer update-action specific, as they also apply e.g. when doing a reset.
Diffstat (limited to 'src/qmi-firmware-update/qfu-main.c')
-rw-r--r--src/qmi-firmware-update/qfu-main.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/qmi-firmware-update/qfu-main.c b/src/qmi-firmware-update/qfu-main.c
index c0effd5..cdacc52 100644
--- a/src/qmi-firmware-update/qfu-main.c
+++ b/src/qmi-firmware-update/qfu-main.c
@@ -208,14 +208,6 @@ static GOptionEntry context_update_entries[] = {
"Carrier name (e.g. 'Generic').",
"[CARRIER]",
},
- { "device-open-proxy", 'p', 0, G_OPTION_ARG_NONE, &device_open_proxy_flag,
- "Request to use the 'qmi-proxy' proxy.",
- NULL
- },
- { "device-open-mbim", 0, 0, G_OPTION_ARG_NONE, &device_open_mbim_flag,
- "Open an MBIM device with EXT_QMUX support.",
- NULL
- },
{ "force", 0, 0, G_OPTION_ARG_NONE, &force_flag,
"Force update operation even with version string errors.",
NULL
@@ -255,6 +247,14 @@ static GOptionEntry context_main_entries[] = {
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &image_strv, "",
"FILE1 FILE2..."
},
+ { "device-open-proxy", 'p', 0, G_OPTION_ARG_NONE, &device_open_proxy_flag,
+ "Request to use the 'qmi-proxy' proxy.",
+ NULL
+ },
+ { "device-open-mbim", 0, 0, G_OPTION_ARG_NONE, &device_open_mbim_flag,
+ "Open an MBIM device with EXT_QMUX support.",
+ NULL
+ },
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &stdout_verbose_flag,
"Run action with verbose messages in standard output, including the debug ones.",
NULL