On Thu, Sep 12, 2024 at 02:45:04PM +0200, Jean Delvare wrote: > arg_idx has the same meaning as getopt's optind global variable, so > drop the former and use the latter. Once getopt() is done parsing the > options, there should be no problem using it for ourselves. > > Signed-off-by: Jean Delvare <jdelvare@xxxxxxx> I tried a few patterns in the command line and they were all handled correctly: Reviewed-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> Tested-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> Thanks!
Attachment:
signature.asc
Description: PGP signature