From 1126063a7f7688bfd225de0ddd41e288865692d5 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 19 Jul 2020 18:33:48 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2e88f5a..f6e2437 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This code is an evolution of that parser. ## Features - Simple -- Supports both the _option_ (a-la `find`) and _command_ (a-la `git`) paradigms +- Supports both the _option_ (a-la `ls`) and _command_ (a-la `git`) paradigms - Nestable parsers can be nested as option/command handlers defining independent nested contexts @@ -25,21 +25,21 @@ This code is an evolution of that parser. - Option/command value passing implicit `-a 123` (requires definition or manual handling) or explicit `-a=123` -- Environment variable option/command values - env can control option defaults -- Reasonable defaults - - `-help` – generate and print help, - - `-version` – print version, - - `-` – stop argument processing, +- Environment variable option/command value defaults +- Multiple option prefix support +- Reasonable defaults: + - `-help` – generate and print help + - `-version` – print version + - `-` – stop argument processing - Extensible: - - Hooks for option value conversion _(XXX should this be implemented???)_ + - Hooks for option value conversion - Hooks for dynamic option/command handling - Customizable error and stop condition handling ## Planned Features - Run `-` scripts -- Multiple option prefix support +- Option grouping