Minor fixes to command line help
[project/uqmi.git] / commands-wds.h
index 3690c3f..ea64e82 100644 (file)
@@ -1,5 +1,18 @@
 #define __uqmi_wds_commands \
 #define __uqmi_wds_commands \
-       __uqmi_command(wds_set_auth, wds-set-auth, required, QMI_SERVICE_WDS), \
-       __uqmi_command(wds_set_username, wds-set-username, required, QMI_SERVICE_WDS), \
-       __uqmi_command(wds_set_password, wds-set-password, required, QMI_SERVICE_WDS)
+       __uqmi_command(wds_start_network, start-network, required, QMI_SERVICE_WDS), \
+       __uqmi_command(wds_set_auth, auth-type, required, CMD_TYPE_OPTION), \
+       __uqmi_command(wds_set_username, username, required, CMD_TYPE_OPTION), \
+       __uqmi_command(wds_set_password, password, required, CMD_TYPE_OPTION), \
+       __uqmi_command(wds_set_autoconnect, autoconnect, no, CMD_TYPE_OPTION), \
+       __uqmi_command(wds_get_packet_service_status, get-data-status, no, QMI_SERVICE_WDS), \
+       __uqmi_command(wds_reset, reset-wds, no, QMI_SERVICE_WDS) \
+
+
+#define wds_helptext \
+               "  --start-network <apn>:            Start network connection (use with options below)\n" \
+               "    --auth-type pap|chap|both|none: Use network authentication type\n" \
+               "    --username <name>:              Use network username\n" \
+               "    --password <password>:          Use network password\n" \
+               "    --autoconnect:                  Enable automatic connect/reconnect\n" \
+               "  --get-data-status:                Get current data access status\n" \