Re: [PATCH] help: align the longest command in the command listing

2019-02-01 Thread Duy Nguyen
On Fri, Feb 1, 2019 at 2:42 PM Johannes Schindelin wrote: > > diff --git a/help.c b/help.c > > index ff05fd22df..520c9080e8 100644 > > --- a/help.c > > +++ b/help.c > > @@ -85,7 +85,8 @@ static void print_command_list(const struct cmdname_help > > *cmds, > > if (cmds[i].category & m

Re: [PATCH] help: align the longest command in the command listing

2019-01-31 Thread Johannes Schindelin
Hi Duy, On Thu, 31 Jan 2019, Nguyễn Thái Ngọc Duy wrote: > "longest" is used to determine how many extra spaces we need to print > to keep the command description aligned. For the longest command, we > should print no extra space instead of one, or we'll get unaligned > output like this (notice t