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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/25/2010 03:37 PM, Junio C Hamano wrote:
@@ -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? I think this might be mistaken for enabling threads or some fancy algorithm to go faster.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]