From 326ff4bcde6775f1748a65e0d9fb8ef673c8124c Mon Sep 17 00:00:00 2001 From: John-Michael Baier Date: Fri, 25 Dec 2020 14:37:27 +0100 Subject: [PATCH] better help text for IP settings --- src/tools/README.md | 6 +++--- src/tools/ebuspicloader.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tools/README.md b/src/tools/README.md index 8281f437..c41300a5 100644 --- a/src/tools/README.md +++ b/src/tools/README.md @@ -20,10 +20,10 @@ Usage Usage: ebuspicloader [OPTION...] PORT A tool for loading firmware to the eBUS adapter PIC. - -d, --dhcp set IP address to DHCP + -d, --dhcp set dynamic IP address via DHCP -f, --flash=FILE flash the FILE to the device - -i, --ip=IP set IP address (e.g. 192.168.0.10) - -m, --mask=MASK set IP mask (e.g. 24) + -i, --ip=IP set fix IP address (e.g. 192.168.0.10) + -m, --mask=MASK set fix IP mask (e.g. 24) -M, --macip set the MAC address suffix from the IP address -r, --reset reset the device at the end on success -s, --slow use low speed for transfer diff --git a/src/tools/ebuspicloader.cpp b/src/tools/ebuspicloader.cpp index f4eeabbb..adbebc46 100644 --- a/src/tools/ebuspicloader.cpp +++ b/src/tools/ebuspicloader.cpp @@ -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 },