I wrote my own a few years ago. It was simple to use and understand. It was too simple, perhaps, but it did what I needed for a range of small programs. The only thing it doesn't do is to flag unknown options: it ignores them instead.
I say, if you don't need all the complexity of argparse don't use it! On Thursday, June 15, 2023 at 5:36:55 AM UTC-4 Edward K. Ream wrote: > On Thursday, June 15, 2023 at 3:36:13 AM UTC-5 Edward K. Ream wrote: > > I plan to rewrite LM.scanOptions without argparse. > > > Initial work is promising. *Everything* seems easier w/o argparse! See > PR #3382 <https://github.com/leo-editor/leo-editor/pull/3382>. > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/6235e6ed-891c-4676-9827-75e7ffbe0199n%40googlegroups.com.