From: Junio C Hamano Date: Wed, 23 Feb 2022 22:16:13 GMT Subject: Re: [PATCH v2 7/9] help: error if [-a|-g|-c] and [-i|-m|-w] are combined Message-ID: In-Reply-To: Ævar Arnfjörð Bjarmason writes: > Add more sanity checking to "git help" usage by erroring out if these > man viewer options are combined with incompatible command-modes that > will never use these documentation viewers. > > This continues the work started in d35d03cf93e (help: simplify by > moving to OPT_CMDMODE(), 2021-09-22) of adding more sanity checking to > "git help". Doing this allows us to clarify the "SYNOPSIS" in the > documentation, and the "git help -h" output. While this is not wrong per-se, "git help --all --web" in the future that pops the same information up in your running browser would not be a bad thing to have. That use of --web is certainly not in line with --man and --info, though (at that point we'd be saying "show in browser or show in terminal"). So I guess this is OK at least for now.