Remove the argpar_parse() API
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 1 Jun 2021 16:21:34 +0000 (12:21 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 4 Jun 2021 17:59:12 +0000 (13:59 -0400)
commit4d6198b505eaeb2e60a14331ccb52f90ea397bb4
tree84a9f5e5fc7682270c5364417ddd9d1bdd311e49
parentd1f7bbdbd28b96b360e815f28697a2f81d699cb4
Remove the argpar_parse() API

Since the introduction of the iterator API, argpar_parse() is considered
a subset of what the iterator API can do, only adding a conditional (for
`fail_on_unknown_opt`) and creating an array of parsing items for the
user.

Therefore, as you can trivially implement an argpar_parse() equivalent
outside argpar, I see no interest in keeping it in the project.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I73857fef62de052457c9c7c4b0aab66187e81c27
argpar/argpar.c
argpar/argpar.h
tests/test_argpar.c
This page took 0.022845 seconds and 4 git commands to generate.