From: Jiri Benc Date: Wed, 14 Jun 2017 19:29:49 +0000 (+0200) Subject: tc: m_tunnel_key: reformat the usage text X-Git-Tag: v4.13.0~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50907a8245ea37875fb877d6f21f51a1f247b167;p=thirdparty%2Fiproute2.git 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 --- diff --git a/tc/m_tunnel_key.c b/tc/m_tunnel_key.c index fb418a76b..6faf96320 100644 --- a/tc/m_tunnel_key.c +++ b/tc/m_tunnel_key.c @@ -22,7 +22,13 @@ static void explain(void) { 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 \n"); + fprintf(stderr, + "Where TUNNEL_KEY is a combination of:\n" + "id (mandatory)\n" + "src_ip (mandatory)\n" + "dst_ip (mandatory)\n" + "dst_port \n"); } static void usage(void)