git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* `git grep` is too picky about option parsing
@ 2020-12-06 22:12 Jan Engelhardt
  2020-12-07 17:02 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Engelhardt @ 2020-12-06 22:12 UTC (permalink / raw)
  To: git

Version: 2.29.2


-e, -i, -l and -n are all valid options for grep as well as git grep, 
yet git-grep refuses to operate if they appear in a specific order.

Observed:

$ git grep -e abc -lin
error: did you mean `--lin` (with two dashes)?

Expected:

$ git grep -e abc -lin
somefile

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-12-07 19:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 22:12 `git grep` is too picky about option parsing Jan Engelhardt
2020-12-07 17:02 ` Jeff King
2020-12-07 18:46   ` Junio C Hamano
2020-12-07 18:55     ` Jeff King
2020-12-07 19:35       ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).