ila: fix formatting of help message
Make ip ila help look like ip route help Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
010260a717
commit
a03c704b2f
15
ip/ipila.c
15
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue