[git commit] help text: use -P PORT form

Denys Vlasenko vda.linux at googlemail.com
Fri Dec 18 21:51:46 UTC 2020


commit: https://git.busybox.net/busybox/commit/?id=8cc3a744fbe39152b6554e2a8c029f23dc39a3f9
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

function                                             old     new   delta
packed_usage                                       33502   33491     -11

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/ftpgetput.c      | 4 ++--
 networking/udhcp/d6_dhcpc.c | 4 ++--
 networking/udhcp/dhcpd.c    | 4 ++--
 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"


More information about the busybox-cvs mailing list