acl: add missing square brackets to vat_help option in acl api 84/23084/2
authorJieqiang Wang <jieqiang.wang@arm.com>
Mon, 28 Oct 2019 11:14:06 +0000 (19:14 +0800)
committerPaul Vinciguerra <pvinci@vinciconsulting.com>
Thu, 31 Oct 2019 02:17:22 +0000 (02:17 +0000)
Add the missing right square brackets to remove ambiguity in
vat_help option for acl_add_replace and macip_acl_add_replace api.

Type: fix

Change-Id: I2679d8ce163d23a0e513afdfdb87434cbb673c74
Signed-off-by: Jieqiang.Wang <Jieqiang.Wang@arm.com>
src/plugins/acl/acl.api

index eb05946..2dedea6 100644 (file)
@@ -109,7 +109,7 @@ manual_print manual_endian define acl_add_replace
   u8 tag[64]; /* What gets in here gets out in the corresponding tag field when dumping the ACLs. */
   u32 count;
   vl_api_acl_rule_t r[count];
-  option vat_help = "<acl-idx> [<ipv4|ipv6> <permit|permit+reflect|deny|action N> [src IP/plen] [dst IP/plen] [sport X-Y] [dport X-Y] [proto P] [tcpflags FL MASK], ... , ...";
+  option vat_help = "<acl-idx> [<ipv4|ipv6>] <permit|permit+reflect|deny|action N> [src IP/plen] [dst IP/plen] [sport X-Y] [dport X-Y] [proto P] [tcpflags FL MASK], ... , ...";
 };
 
 /** \brief Reply to add/replace ACL
@@ -300,7 +300,7 @@ manual_endian manual_print define macip_acl_add_replace
   u8 tag[64];
   u32 count;
   vl_api_macip_acl_rule_t r[count];
-  option vat_help = "<acl-idx> [<ipv4|ipv6> <permit|deny|action N> [count <count>] [src] ip <ipaddress/[plen]> mac <mac> mask <mac_mask>, ... , ...";
+  option vat_help = "<acl-idx> [<ipv4|ipv6>] <permit|deny|action N> [count <count>] [src] ip <ipaddress/[plen]> mac <mac> mask <mac_mask>, ... , ...";
 };
 
 /** \brief Reply to add/replace MACIP ACL