From d252801d4e7947792397c013c50336f258ac84fb Mon Sep 17 00:00:00 2001 From: Michael Baum Date: Wed, 16 Nov 2022 14:56:25 +0200 Subject: [PATCH] doc: fix spaces in testpmd flow syntax In flow syntax documentation, there is example for create pattern template. Before the example, miss a blank line causing it to look regular bold text. In addition, inside the example, it uses tab instead of spaces which expand the indentation in one line. This patch adds the blank line and replaces tab with spaces. Fixes: 04cc665fab38 ("app/testpmd: add flow template management") Cc: stable@dpdk.org Signed-off-by: Michael Baum Reviewed-by: Thomas Monjalon Acked-by: Yuying Zhang --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index b5fea1396c..0037506a79 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -2894,9 +2894,10 @@ following sections. [meters_number {number}] [flags {number}] - Create a pattern template:: + flow pattern_template {port_id} create [pattern_template_id {id}] [relaxed {boolean}] [ingress] [egress] [transfer] - template {item} [/ {item} [...]] / end + template {item} [/ {item} [...]] / end - Destroy a pattern template::