help text: use -P PORT form

function                                             old     new   delta
packed_usage                                       33502   33491     -11

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2020-12-18 22:51:46 +01:00
parent a2f18d950a
commit 8cc3a744fb
3 changed files with 6 additions and 6 deletions

View File

@ -43,7 +43,7 @@
//usage: "\n -v Verbose" //usage: "\n -v Verbose"
//usage: "\n -u USER Username" //usage: "\n -u USER Username"
//usage: "\n -p PASS Password" //usage: "\n -p PASS Password"
//usage: "\n -P NUM Port" //usage: "\n -P PORT"
//usage: //usage:
//usage:#define ftpput_trivial_usage //usage:#define ftpput_trivial_usage
//usage: "[OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE" //usage: "[OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE"
@ -52,7 +52,7 @@
//usage: "\n -v Verbose" //usage: "\n -v Verbose"
//usage: "\n -u USER Username" //usage: "\n -u USER Username"
//usage: "\n -p PASS Password" //usage: "\n -p PASS Password"
//usage: "\n -P NUM Port number" //usage: "\n -P PORT"
#include "libbb.h" #include "libbb.h"
#include "common_bufsiz.h" #include "common_bufsiz.h"

View File

@ -1161,7 +1161,7 @@ static void client_background(void)
//usage:#endif //usage:#endif
//usage:#define udhcpc6_trivial_usage //usage:#define udhcpc6_trivial_usage
//usage: "[-fbnq"IF_UDHCP_VERBOSE("v")"odR] [-i IFACE] [-r IPv6] [-s PROG] [-p PIDFILE]\n" //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:#define udhcpc6_full_usage "\n"
//usage: "\n -i IFACE Interface to use (default eth0)" //usage: "\n -i IFACE Interface to use (default eth0)"
//usage: "\n -p FILE Create pidfile" //usage: "\n -p FILE Create pidfile"
@ -1179,7 +1179,7 @@ static void client_background(void)
//usage: "\n -R Release IP on exit" //usage: "\n -R Release IP on exit"
//usage: "\n -S Log to syslog too" //usage: "\n -S Log to syslog too"
//usage: IF_FEATURE_UDHCP_PORT( //usage: IF_FEATURE_UDHCP_PORT(
//usage: "\n -P N Use port N (default 546)" //usage: "\n -P PORT Use PORT (default 546)"
//usage: ) //usage: )
////usage: IF_FEATURE_UDHCPC_ARPING( ////usage: IF_FEATURE_UDHCPC_ARPING(
////usage: "\n -a Use arping to validate offered address" ////usage: "\n -a Use arping to validate offered address"

View File

@ -27,7 +27,7 @@
//kbuild:lib-$(CONFIG_FEATURE_UDHCP_RFC3397) += domain_codec.o //kbuild:lib-$(CONFIG_FEATURE_UDHCP_RFC3397) += domain_codec.o
//usage:#define udhcpd_trivial_usage //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:#define udhcpd_full_usage "\n\n"
//usage: "DHCP server\n" //usage: "DHCP server\n"
//usage: "\n -f Run in foreground" //usage: "\n -f Run in foreground"
@ -35,7 +35,7 @@
//usage: "\n -I ADDR Local address" //usage: "\n -I ADDR Local address"
//usage: "\n -a MSEC Timeout for ARP ping (default 2000)" //usage: "\n -a MSEC Timeout for ARP ping (default 2000)"
//usage: IF_FEATURE_UDHCP_PORT( //usage: IF_FEATURE_UDHCP_PORT(
//usage: "\n -P N Use port N (default 67)" //usage: "\n -P PORT Use PORT (default 67)"
//usage: ) //usage: )
//usage: "\nSignals:" //usage: "\nSignals:"
//usage: "\n USR1 Update lease file" //usage: "\n USR1 Update lease file"