[PATCH net-next] tools: ynl: fix typo in info string

Ruben Wauters posted 1 patch 9 months, 2 weeks ago
tools/net/ynl/pyynl/ynl_gen_rst.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH net-next] tools: ynl: fix typo in info string
Posted by Ruben Wauters 9 months, 2 weeks ago
replaces formmated with formatted
also corrects grammar by replacing a with an, and capitalises RST

Signed-off-by: Ruben Wauters <rubenru09@aol.com>
---
 tools/net/ynl/pyynl/ynl_gen_rst.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/net/ynl/pyynl/ynl_gen_rst.py b/tools/net/ynl/pyynl/ynl_gen_rst.py
index 6c56d0d726b4..0cb6348e28d3 100755
--- a/tools/net/ynl/pyynl/ynl_gen_rst.py
+++ b/tools/net/ynl/pyynl/ynl_gen_rst.py
@@ -392,7 +392,7 @@ def parse_arguments() -> argparse.Namespace:
 
 
 def parse_yaml_file(filename: str) -> str:
-    """Transform the YAML specified by filename into a rst-formmated string"""
+    """Transform the YAML specified by filename into an RST-formatted string"""
     with open(filename, "r", encoding="utf-8") as spec_file:
         yaml_data = yaml.safe_load(spec_file)
         content = parse_yaml(yaml_data)
-- 
2.48.1
Re: [PATCH net-next] tools: ynl: fix typo in info string
Posted by Donald Hunter 9 months, 2 weeks ago
Ruben Wauters <rubenru09@aol.com> writes:

> replaces formmated with formatted
> also corrects grammar by replacing a with an, and capitalises RST
>
> Signed-off-by: Ruben Wauters <rubenru09@aol.com>

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>