parse-options.h: use consistent name for the callback parameters
commitab0845b38263e694686ce5b72be81c31c06c00cc
authorSZEDER Gábor <szeder.dev@gmail.com>
Sun, 19 Mar 2023 16:56:46 +0000 (19 17:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Mar 2023 19:04:06 +0000 (20 12:04 -0700)
treee0dff220026da145b6a3ccc1fef22c3ac0bf9cd4
parent73876f4861cd3d187a4682290ab75c9dccadbc56
parse-options.h: use consistent name for the callback parameters

In the various OPT_* macros the 'f' parameter is usually used to
specify flags, while the 'cb' parameter is used to specify a callback
function.  OPT_CALLBACK and OPT_NUMBER_CALLBACKS, however, are
inconsistent with the rest, as they use 'f' to specify their callback
function.

Rename their callback macro parameters to 'cb' to avoid the
inconsistency.

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