Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] grep: expose "status-only" feature via -q

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:07

Stephen Boyd [off-list ref] writes:
On 01/25/2010 03:37 PM, Junio C Hamano wrote:
quoted
@@ -505,6 +512,8 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
  		{ OPTION_CALLBACK, ')', NULL,&opt, NULL, "",
  		  PARSE_OPT_NOARG | PARSE_OPT_NONEG | PARSE_OPT_NODASH,
  		  close_callback },
+		OPT_BOOLEAN('q', "quick",&opt.status_only,
+			    "indicate hit with exit status without output"),
Why isn't this --quiet just like grep?
Because I wasn't careful enough.  Thanks; will fix.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help