diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-04-07 18:22:41 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-04-07 18:22:41 +0200 |
commit | 7121bb8023bf3e1760835bab5a16bd897ac3e878 (patch) | |
tree | 66a3ac3c67183162fc2529e020f383c7e5e77a55 /networking | |
parent | 4eaa0f7729e96660f69a6c4f4db6d608c420c05d (diff) | |
download | busybox-7121bb8023bf3e1760835bab5a16bd897ac3e878.tar.gz |
ipaddress: tweak help text more: mention "brd +" syntax
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ip.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/networking/ip.c b/networking/ip.c index 36975c06e..3cf52cdd7 100644 --- a/networking/ip.c +++ b/networking/ip.c @@ -144,11 +144,12 @@ //usage:#define ipaddr_trivial_usage //usage: "add|del IFADDR dev IFACE | show|flush [dev IFACE] [to PREFIX]" //usage:#define ipaddr_full_usage "\n\n" -//usage: "ipaddr add|change|replace|delete IFADDR dev IFACE\n" -//usage: " IFADDR := PREFIX | ADDR peer PREFIX [broadcast ADDR] [anycast ADDR]\n" -//usage: " [label STRING] [scope SCOPE-ID]\n" -//usage: "ipaddr show|flush [dev IFACE] [scope SCOPE-ID] [to PREFIX] [label PATTERN]\n" -//usage: " SCOPE-ID := [host|link|global|NUMBER]" +//usage: "ipaddr add|change|replace|delete dev IFACE IFADDR\n" +//usage: " IFADDR := PREFIX | ADDR peer PREFIX [broadcast ADDR|+|-]\n" +//usage: " [anycast ADDR] [label STRING] [scope SCOPE]\n" +//usage: " PREFIX := ADDR[/MASK]\n" +//usage: " SCOPE := [host|link|global|NUMBER]\n" +//usage: "ipaddr show|flush [dev IFACE] [scope SCOPE] [to PREFIX] [label PATTERN]" //usage: //--------------123456789.123456789.123456789.123456789.123456789.123456789.123456789.123....79 //usage:#define iplink_trivial_usage @@ -164,7 +165,7 @@ //usage:#define iproute_full_usage "\n\n" //usage: "iproute list|flush SELECTOR\n" //usage: " SELECTOR := [root PREFIX] [match PREFIX] [proto RTPROTO]\n" -//usage: " PREFIX := default|ADDR/MASK\n" +//usage: " PREFIX := default|ADDR[/MASK]\n" //usage: "iproute get ADDR [from ADDR iif IFACE]\n" //usage: " [oif IFACE] [tos TOS]\n" //usage: "iproute add|del|change|append|replace|test ROUTE\n" |