Re: [PATCH v3 1/2] builtin/remote.c: parse options in 'rename'
From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2022-03-05 14:30:21
From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2022-03-05 14:30:21
On Thu, Mar 03 2022, Taylor Blau wrote:
The 'git remote rename' command doesn't currently take any command-line arguments besides the existing and new name of a remote, and so has no need to call parse_options().
I think nothing needs to change here in the body of the test, but just a
correction: We do in fact use parse_options() here in the pre-image. I.e.:
git remote -h
git remote rename -h
I.e. we'll detect "-h", emit the appropriate usage etc.