[Toybox] Allow --help after other arguments?
Ryan Prichard
rprichard at google.com
Sat Jun 19 15:30:44 PDT 2021
On Fri, Jun 18, 2021 at 6:46 AM Rob Landley <rob at landley.net> wrote:
> On 6/11/21 4:51 PM, Ryan Prichard wrote:
> > Yeah, I think my ideal would be for --help to apply to the last
> (sub)command
> > preceding it. e.g. When it appears after a subcommand name, it would be
> parsed
> > like any other subcommand flag. For "time", flag parsing (for -p and -v)
> seems
> > to stop at the first non-hyphenated argument.
>
> Try commit 29e7ed94a1fe
>
Yeah, this seems to handle everything I've thrown at it. Thanks.
-Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210619/e93ea182/attachment-0001.htm>
More information about the Toybox
mailing list