From: Stephen Hemminger Date: Fri, 24 Nov 2017 17:21:43 +0000 (-0800) Subject: ila: fix formatting of help message X-Git-Tag: v4.16.0~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a03c704b2facf3036b26c8e7f65097a25ec56950;p=thirdparty%2Fiproute2.git ila: fix formatting of help message Make ip ila help look like ip route help Signed-off-by: Stephen Hemminger --- diff --git a/ip/ipila.c b/ip/ipila.c index fcc20bf7f..9a324296f 100644 --- a/ip/ipila.c +++ b/ip/ipila.c @@ -26,15 +26,12 @@ static void usage(void) { - fprintf(stderr, "Usage: ip ila add loc_match LOCATOR_MATCH " - "loc LOCATOR [ dev DEV ] " - "[ csum-mode { adj-transport | neutral-map | " - "neutral-map-auto | no-action } ] " - "[ ident-type { luid | use-format } ]\n"); - fprintf(stderr, " ip ila del loc_match LOCATOR_MATCH " - "[ loc LOCATOR ] [ dev DEV ]\n"); - fprintf(stderr, " ip ila list\n"); - fprintf(stderr, "\n"); + fprintf(stderr, +"Usage: ip ila add loc_match LOCATOR_MATCH loc LOCATOR [ dev DEV ] OPTIONS\n" +" ip ila del loc_match LOCATOR_MATCH [ loc LOCATOR ] [ dev DEV ]\n" +" ip ila list\n" +"OPTIONS := [ csum-mode { adj-transport | neutral-map | neutral-map-auto | no-action } ]\n" +" [ ident-type { luid | use-format } ]\n"); exit(-1); }