vpp: fix .short_help for "ip virtual"
[vpp.git] / src / vpp / app / vpe_cli.c
index fcc496a..fc623b1 100644 (file)
@@ -113,6 +113,7 @@ virtual_ip_cmd_fn_command_fn (vlib_main_t * vm,
 done:
   vec_free (mac_addrs);
   vec_free (next_hops);
+  vec_free (rpaths);
   unformat_free (line_input);
 
   return error;
@@ -121,7 +122,7 @@ done:
 /* *INDENT-OFF* */
 VLIB_CLI_COMMAND (virtual_ip_cmd_fn_command, static) = {
   .path = "ip virtual",
-  .short_help = "ip virtual <addr> <interface> [mac <Mi>]+",
+  .short_help = "ip virtual <addr> <interface> [mac <Mi>]+ [next-hop <ip4_address>]+",
   .function = virtual_ip_cmd_fn_command_fn,
 };
 /* *INDENT-ON* */