On Mon, 22 Jul 2024 19:06:12 +0200, Ahmad Fatoum wrote: > Once getopt has concluded, all of argv[0] up to argv[optind - 1] will > have been consumed. Therefore let's advance argv by optind and reduce > argc by the same to simplify the code handling the positional arguments. > > Applied, thanks! [1/1] commands: mount: simplify positional argument handling https://git.pengutronix.de/cgit/barebox/commit/?id=71525350c38e (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>