From a371fc1ad8b2a44ceacc06256a84d5178ae8586c Mon Sep 17 00:00:00 2001 From: Terts Diepraam Date: Wed, 25 Jan 2023 10:48:37 +0100 Subject: [PATCH] docs: update description of bpaf based on #17 --- design/problems_with_clap.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/design/problems_with_clap.md b/design/problems_with_clap.md index 101e654..9293984 100644 --- a/design/problems_with_clap.md +++ b/design/problems_with_clap.md @@ -182,11 +182,10 @@ libraries. - It is also not configurable enough. - Does not support a many-to-many relationship. - [`bpaf`](https://github.com/pacak/bpaf) - - Very configurable, even supports `dd`-style. - - No different configuration between short and long options (as far as I can - find). - - Does not have the many-to-many relationship (options map directly to fields - in a struct). + - Extremely flexible, even supports `dd`-style. + - A different configuration between short and long options requires a workaround. + - A many-to-many relation ship is possible, though not very ergonomic. + - For more information, see: https://github.com/tertsdiepraam/uutils-args/issues/17 - [`gumdrop`](https://github.com/murarth/gumdrop) - Does not handle invalid UTF-8. - Not configurable enough.