Todd Zullinger <tmz@xxxxxxxxx> writes: > Support for the --set-upstream option was removed in 52668846ea > (builtin/branch: stop supporting the "--set-upstream" option, > 2017-08-17), after a long deprecation period. > > Remove the option from the command synopsis for consistency. Replace > another reference to it in the description of `--delete` with > `--set-upstream-to`. > > Signed-off-by: Todd Zullinger <tmz@xxxxxxxxx> > --- Makes sense. Even though we internally still carry (and have to carry) code to notice and explicitly reject "--set-upstream", I do not think that we need to suggest its presence to the end user. The option parsing code marks it with the PARSE_OPT_HIDDEN bit correctly and it would make sense to make the synopsis section follow suit. Thanks.