History log of /dpdk/doc/guides/prog_guide/argparse_lib.rst (Results 1 – 2 of 2)
Revision Date Author Comments
# 51a639ca 18-Mar-2024 Chengwen Feng <fengchengwen@huawei.com>

argparse: fix hyphens in doc

With the line in rst file:
The single mode: "--aaa" or "-a".
corresponding line in html doc:
The single mode: -aaa or -a.
the two hyphens (--aaa) become one (-aaa).

A

argparse: fix hyphens in doc

With the line in rst file:
The single mode: "--aaa" or "-a".
corresponding line in html doc:
The single mode: -aaa or -a.
the two hyphens (--aaa) become one (-aaa).

According to [1], this commit uses the backquote (``xxx``) to fix it.
And for consistency, use this format for all arguments.

[1] https://stackoverflow.com/questions/51075907/display-two-dashes-in-rst-file

Fixes: e3e579f5bab5 ("argparse: introduce argparse library")
Cc: stable@dpdk.org

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Reviewed-by: Dengdui Huang <huangdengdui@huawei.com>
Acked-by: Jie Hai <haijie1@huawei.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>

show more ...


# e3e579f5 26-Jan-2024 Chengwen Feng <fengchengwen@huawei.com>

argparse: introduce argparse library

Introduce argparse library (which was inspired by the thread [1]).
This commit provides public API and doc.

[1] https://patchwork.dpdk.org/project/dpdk/patch/20

argparse: introduce argparse library

Introduce argparse library (which was inspired by the thread [1]).
This commit provides public API and doc.

[1] https://patchwork.dpdk.org/project/dpdk/patch/20231105054539.22303-2-fengchengwen@huawei.com/

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>

show more ...