summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-18 22:51:46 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-18 22:51:46 +0100
commit8cc3a744fbe39152b6554e2a8c029f23dc39a3f9 (patch)
tree1a1d517b8cc9f9a74c4bcc7d2d1441f82f471b4b
parenta2f18d950a1a94e22fec78ee2d57f5cd3542551a (diff)
help text: use -P PORT form
function old new delta packed_usage 33502 33491 -11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/ftpgetput.c4
-rw-r--r--networking/udhcp/d6_dhcpc.c4
-rw-r--r--networking/udhcp/dhcpd.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index 6f7f7e9ca..30b3dabd1 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -43,7 +43,7 @@
//usage: "\n -v Verbose"
//usage: "\n -u USER Username"
//usage: "\n -p PASS Password"
-//usage: "\n -P NUM Port"
+//usage: "\n -P PORT"
//usage:
//usage:#define ftpput_trivial_usage
//usage: "[OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE"
@@ -52,7 +52,7 @@
//usage: "\n -v Verbose"
//usage: "\n -u USER Username"
//usage: "\n -p PASS Password"
-//usage: "\n -P NUM Port number"
+//usage: "\n -P PORT"
#include "libbb.h"
#include "common_bufsiz.h"
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c
index 744448cee..d4d29dcbb 100644
--- a/networking/udhcp/d6_dhcpc.c
+++ b/networking/udhcp/d6_dhcpc.c
@@ -1161,7 +1161,7 @@ static void client_background(void)
//usage:#endif
//usage:#define udhcpc6_trivial_usage
//usage: "[-fbnq"IF_UDHCP_VERBOSE("v")"odR] [-i IFACE] [-r IPv6] [-s PROG] [-p PIDFILE]\n"
-//usage: " [-x OPT:VAL]... [-O OPT]..." IF_FEATURE_UDHCP_PORT(" [-P N]")
+//usage: " [-x OPT:VAL]... [-O OPT]..." IF_FEATURE_UDHCP_PORT(" [-P PORT]")
//usage:#define udhcpc6_full_usage "\n"
//usage: "\n -i IFACE Interface to use (default eth0)"
//usage: "\n -p FILE Create pidfile"
@@ -1179,7 +1179,7 @@ static void client_background(void)
//usage: "\n -R Release IP on exit"
//usage: "\n -S Log to syslog too"
//usage: IF_FEATURE_UDHCP_PORT(
-//usage: "\n -P N Use port N (default 546)"
+//usage: "\n -P PORT Use PORT (default 546)"
//usage: )
////usage: IF_FEATURE_UDHCPC_ARPING(
////usage: "\n -a Use arping to validate offered address"
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index 9e950ca1f..cd32cb437 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -27,7 +27,7 @@
//kbuild:lib-$(CONFIG_FEATURE_UDHCP_RFC3397) += domain_codec.o
//usage:#define udhcpd_trivial_usage
-//usage: "[-fS] [-I ADDR]" IF_FEATURE_UDHCP_PORT(" [-P N]") " [CONFFILE]"
+//usage: "[-fS] [-I ADDR]" IF_FEATURE_UDHCP_PORT(" [-P PORT]") " [CONFFILE]"
//usage:#define udhcpd_full_usage "\n\n"
//usage: "DHCP server\n"
//usage: "\n -f Run in foreground"
@@ -35,7 +35,7 @@
//usage: "\n -I ADDR Local address"
//usage: "\n -a MSEC Timeout for ARP ping (default 2000)"
//usage: IF_FEATURE_UDHCP_PORT(
-//usage: "\n -P N Use port N (default 67)"
+//usage: "\n -P PORT Use PORT (default 67)"
//usage: )
//usage: "\nSignals:"
//usage: "\n USR1 Update lease file"