better help text for IP settings

This commit is contained in:
John-Michael Baier
2020-12-25 14:37:27 +01:00
parent 6b1a243d3a
commit 326ff4bcde
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -28,9 +28,9 @@ static const char argpargsdoc[] = "PORT";
/** the definition of the known program arguments. */
static const struct argp_option argpoptions[] = {
{"verbose", 'v', nullptr, 0, "enable verbose output", 0 },
{"dhcp", 'd', nullptr, 0, "set IP address to DHCP", 0 },
{"ip", 'i', "IP", 0, "set IP address (e.g. 192.168.0.10)", 0 },
{"mask", 'm', "MASK", 0, "set IP mask (e.g. 24)", 0 },
{"dhcp", 'd', nullptr, 0, "set dynamic IP address via DHCP", 0 },
{"ip", 'i', "IP", 0, "set fix IP address (e.g. 192.168.0.10)", 0 },
{"mask", 'm', "MASK", 0, "set fix IP mask (e.g. 24)", 0 },
{"macip", 'M', nullptr, 0, "set the MAC address suffix from the IP address", 0 },
{"flash", 'f', "FILE", 0, "flash the FILE to the device", 0 },
{"reset", 'r', nullptr, 0, "reset the device at the end on success", 0 },