From 8908c1d4f518829cb94e40da54f536a5d7b6404c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 21 Jan 2017 03:56:46 +0100 Subject: [PATCH] more ip --help fixes Signed-off-by: Denys Vlasenko --- networking/ip.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/networking/ip.c b/networking/ip.c index 19b63847b..28e243c2b 100644 --- a/networking/ip.c +++ b/networking/ip.c @@ -152,7 +152,7 @@ //usage: " [COMMAND]" //usage:#define ip_full_usage "\n\n" //usage: "ip [OPTIONS] OBJECT [COMMAND]\n" -//usage: "where OBJECT := " +//usage: " OBJECT := " //usage: IF_FEATURE_IP_ADDRESS("address|") //usage: IF_FEATURE_IP_ROUTE("route|") //usage: IF_FEATURE_IP_LINK("link|") @@ -160,17 +160,17 @@ //usage: IF_FEATURE_IP_NEIGH("neigh|") //usage: IF_FEATURE_IP_RULE("rule") //usage: "\n" -//usage: "OPTIONS := -f[amily] inet|inet6|link | -o[neline]" +//usage: " OPTIONS := -f[amily] inet|inet6|link | -o[neline]" //usage: //usage:#define ipaddr_trivial_usage //usage: "add|del IFADDR dev STRING | show|flush [dev STRING] [to PREFIX]" //usage:#define ipaddr_full_usage "\n\n" //usage: "ipaddr add|change|replace|delete IFADDR dev STRING\n" //usage: "ipaddr show|flush [dev STRING] [scope SCOPE-ID]\n" -//usage: " [to PREFIX] [label PATTERN]\n" +//usage: " [to PREFIX] [label PATTERN]\n" //usage: " IFADDR := PREFIX | ADDR peer PREFIX\n" -//usage: " [broadcast ADDR] [anycast ADDR]\n" -//usage: " [label STRING] [scope SCOPE-ID]\n" +//usage: " [broadcast ADDR] [anycast ADDR]\n" +//usage: " [label STRING] [scope SCOPE-ID]\n" //usage: " SCOPE-ID := [host|link|global|NUMBER]" //usage: //usage:#define iplink_trivial_usage @@ -200,9 +200,9 @@ //usage: " SELECTOR := [from PREFIX] [to PREFIX] [tos TOS] [fwmark FWMARK]\n" //usage: " [dev STRING] [pref NUMBER]\n" //usage: " ACTION := [table TABLE_ID] [nat ADDRESS]\n" -//usage: " [prohibit | reject | unreachable]\n" +//usage: " [prohibit|reject|unreachable]\n" //usage: " [realms [SRCREALM/]DSTREALM]\n" -//usage: " TABLE_ID := [local | main | default | NUMBER]" +//usage: " TABLE_ID := [local|main|default|NUMBER]" //usage: //usage:#define iptunnel_trivial_usage //usage: "add|change|del|show [NAME]\n" -- 2.25.1