@@ -437,8 +437,8 @@ static int cmd_history_reword(int argc,
437437 enum ref_action action = REF_ACTION_DEFAULT ;
438438 int dry_run = 0 ;
439439 struct option options [] = {
440- OPT_CALLBACK_F (0 , "update-refs" , & action , N_ ( "<action>" ) ,
441- N_ ("control which refs should be updated (branches|head) " ),
440+ OPT_CALLBACK_F (0 , "update-refs" , & action , "(branches|head)" ,
441+ N_ ("control which refs should be updated" ),
442442 PARSE_OPT_NONEG , parse_ref_action ),
443443 OPT_BOOL ('n' , "dry-run" , & dry_run ,
444444 N_ ("perform a dry-run without updating any refs" )),
@@ -666,8 +666,8 @@ static int cmd_history_split(int argc,
666666 enum ref_action action = REF_ACTION_DEFAULT ;
667667 int dry_run = 0 ;
668668 struct option options [] = {
669- OPT_CALLBACK_F (0 , "update-refs" , & action , N_ ( "<refs>" ) ,
670- N_ ("control ref update behavior (branches|head|print) " ),
669+ OPT_CALLBACK_F (0 , "update-refs" , & action , "(branches|head)" ,
670+ N_ ("control ref update behavior" ),
671671 PARSE_OPT_NONEG , parse_ref_action ),
672672 OPT_BOOL ('n' , "dry-run" , & dry_run ,
673673 N_ ("perform a dry-run without updating any refs" )),
0 commit comments