From: Junio C Hamano Date: Fri, 09 Aug 2024 19:27:25 GMT Subject: Re: [PATCH 3/3] send-email: teach git send-email option to translate aliases Message-ID: In-Reply-To: <328fb497-d16e-4af1-a816-7b4aeb531504@intel.com> Jacob Keller writes: > Dump aliases handled this by checking @ARGV and immediately bailing if > there were anything remaining after the call to parsing its inner > options. This works but does not work for --translate-aliases because it > needs to treat all the remaining arguments as aliases. When GetOptions returns, shouldn't these "remaining arguments" be visible in @ARGV and you can iterate over them yourself, perhaps?