Re: [Toybox] Allow --help after other arguments?

2021-06-09 Thread Ryan Prichard via Toybox
It seems to have broken --help when invoking toybox explicitly: $ ./toybox ls --help Are we concerned about interpreting "data" arguments as the --help flag? e.g.: $ ./rm -- --help $ ./tar -c README > --help && tar -tvf --help -rw-r- rprichard/primarygroup 6306 2021-06-08 19:10 README $

Re: [Toybox] Allow --help after other arguments?

2021-06-09 Thread Rob Landley
On 6/8/21 9:11 PM, Ryan Prichard via Toybox wrote: > $ ls -l --help > ls: Unknown option 'help' (see "ls --help") > > I tend to add `--help` to the end of a command line that I'm constructing, so > I > was surprised by toybox's requirement that `--help` be first. Maybe toybox > should be more

Re: [Toybox] [PATCH] md5sum.c: simplify the table setup slightly.

2021-06-09 Thread Rob Landley
On 6/8/21 2:37 PM, enh via Toybox wrote: > (Unrelated but nearby, I don't understand why anyone would ever want to > calculate these tables at runtime, so this seems like another > unnecessary CFG_TOYBOX_FLOAT to me, though an unusual one where we might > want to _remove_ the floating-point code.)

Re: [Toybox] patch: add built-in versions of sha-2 family hash functions

2021-06-09 Thread enh via Toybox
On Tue, Jun 8, 2021 at 11:54 PM Rob Landley wrote: > On 6/7/21 11:14 AM, enh wrote: > > On Fri, Jun 4, 2021 at 10:54 PM Rob Landley > > wrote: > > I've always been slightly unclear on what getty.c _does_ and why > it's separate > > from login.c. (Is it related

Re: [Toybox] patch: add built-in versions of sha-2 family hash functions

2021-06-09 Thread Rob Landley
On 6/7/21 11:14 AM, enh wrote: > On Fri, Jun 4, 2021 at 10:54 PM Rob Landley > wrote: > I've always been slightly unclear on what getty.c _does_ and why it's > separate > from login.c. (Is it related to stty?) > > > in case i never sent the response to the