parse-options.h: use designated initializers in OPT_* macros
commit353e6d45545f704651a9e7d6498ae4f3523f9462
authorSZEDER Gábor <szeder.dev@gmail.com>
Sun, 19 Mar 2023 16:56:48 +0000 (19 17:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Mar 2023 19:04:07 +0000 (20 12:04 -0700)
tree1348f96f944f57596105365a8179e776a01fedd0
parentaa0275a2c030c9c03f7934340ce1496d8796954e
parse-options.h: use designated initializers in OPT_* macros

Use designated initializers in the expansions of the OPT_* macros to
make it more readable which one-letter macro parameter initializes
which field in the resulting 'struct option'.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.h