Re: [PATCH] Remove --no-gui option from difftool usage string
- From
Jacob Keller <jacob.keller@gmail.com>
- Date
- Feb 4, 2017, 05:58 UTC
- Message-ID
- <CA+P7+xoXWP=Cuqw3Pa1sFCChiw6wbNTEpvNm3WDuBHQPc_OjnA@mail.gmail.com>
- In-Reply-To
- <20170204025617.GA9221@arch-attack.localdomain>
On Fri, Feb 3, 2017 at 6:56 PM, Denton Liu <liu.denton@gmail.com> wrote:
Show 27 quoted lines
> The --no-gui option not documented in the manpage, nor is it actually > used in the source code. This change removes it from the usage help > that's printed. > > Signed-off-by: Denton Liu <liu.denton@gmail.com> > --- > git-difftool.perl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/git-difftool.perl b/git-difftool.perl > index a5790d03a..657d5622d 100755 > --- a/git-difftool.perl > +++ b/git-difftool.perl > @@ -29,8 +29,8 @@ sub usage > print << 'USAGE'; > usage: git difftool [-t|--tool=<tool>] [--tool-help] > [-x|--extcmd=<cmd>] > - [-g|--gui] [--no-gui] > - [--prompt] [-y|--no-prompt] > + [-g|--gui] [--prompt] > + [-y|--no-prompt] > [-d|--dir-diff] > ['git diff' options] > USAGE > -- > 2.11.0 >
Aren't "--no-foo" options automatically created for booleans when using our option parsing code?
Thanks, Jake