[PATCH v7 02/13] argparse: export function to print help text for object
David Marchand
david.marchand at redhat.com
Tue Sep 30 14:20:23 CEST 2025
On Wed, 23 Jul 2025 at 18:21, Bruce Richardson
<bruce.richardson at intel.com> wrote:
>
> Make the function to print out the help text for an argparse object a
> public function, which takes as a new parameter the file stream on which
> to print. This can be used in future to allow application to extend
> their own help information.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> lib/argparse/rte_argparse.c | 43 +++++++++++++++++++------------------
> lib/argparse/rte_argparse.h | 14 ++++++++++++
> 2 files changed, 36 insertions(+), 21 deletions(-)
>
[snip]
> }
> }
>
> -static void
> -show_args_help(const struct rte_argparse *obj)
> +RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_argparse_print_help, 25.07)
Small rebase needed here, 25.11.
--
David Marchand
More information about the dev
mailing list