tc: m_tunnel_key: reformat the usage text
Adding new tunnel key fields would cause the usage line overflow 80 chars. Make the usage text similar to other commands. Signed-off-by: Jiri Benc <jbenc@redhat.com>
This commit is contained in:
parent
c794b7b179
commit
50907a8245
|
|
@ -22,7 +22,13 @@
|
||||||
static void explain(void)
|
static void explain(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Usage: tunnel_key unset\n");
|
fprintf(stderr, "Usage: tunnel_key unset\n");
|
||||||
fprintf(stderr, " tunnel_key set id TUNNELID src_ip IP dst_ip IP dst_port UDP_PORT\n");
|
fprintf(stderr, " tunnel_key set <TUNNEL_KEY>\n");
|
||||||
|
fprintf(stderr,
|
||||||
|
"Where TUNNEL_KEY is a combination of:\n"
|
||||||
|
"id <TUNNELID> (mandatory)\n"
|
||||||
|
"src_ip <IP> (mandatory)\n"
|
||||||
|
"dst_ip <IP> (mandatory)\n"
|
||||||
|
"dst_port <UDP_PORT>\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void usage(void)
|
static void usage(void)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue