Re: [PATCH v4 17/22] lib: Add getopt

2020-10-30 Thread Tom Rini
On Tue, Oct 27, 2020 at 07:55:36PM -0400, 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 > o

[PATCH v4 17/22] lib: Add getopt

2020-10-27 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