]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
ila: fix formatting of help message
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 24 Nov 2017 17:21:43 +0000 (09:21 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 24 Nov 2017 17:21:43 +0000 (09:21 -0800)
Make ip ila help look like ip route help

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipila.c

index fcc20bf7f5d1d1a5b9340622dc137362a72f04b7..9a324296ffd6627e1faa4f3b2cd0028a19e24c94 100644 (file)
 
 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);
 }