Re: [PATCH v3 18/23] lib: Add getopt

2020-11-03 Thread Simon Glass
On Sat, 17 Oct 2020 at 12:08, Sean Anderson wrote: > > Some commands can get very unweildy if they have too many positional > arguments. Adding options makes them easier to read, remember, and > understand. > > This implementation of getopt has been taken from barebox, which has had > option suppo

[PATCH v3 18/23] lib: Add getopt

2020-10-17 Thread Sean Anderson
Some commands can get very unweildy if they have too many positional arguments. Adding options makes them easier to read, remember, and understand. This implementation of getopt has been taken from barebox, which has had option support for quite a while. I have made a few modifications to their ve