From: Junio C Hamano Date: Thu, 18 Jan 2024 20:44:32 GMT Subject: Re: [PATCH v2 2/4] test-submodule: remove command line handling for check-name Message-ID: In-Reply-To: <14e8834c38bcddc21856772b09f6fa77fa924b48.1705542918.git.gitgitgadget@gmail.com> "Victoria Dye via GitGitGadget" writes: > From: Victoria Dye > > The 'check-name' subcommand to 'test-tool submodule' is documented as being > able to take a command line argument ''. However, this does not work - > and has never worked - because 'argc > 0' triggers the usage message in > 'cmd__submodule_check_name()'. To simplify the helper and avoid future > confusion around proper use of the subcommand, remove any references to > command line arguments for 'check-name' in usage strings and handling in > 'check_name()'. > > Helped-by: Jeff King > Signed-off-by: Victoria Dye > --- > t/helper/test-submodule.c | 29 +++++++++-------------------- > 1 file changed, 9 insertions(+), 20 deletions(-) Excellent, both of you.