Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
add -a option to pkg info, make missing now works from ports
Baptiste Daroussin committed 14 years ago
commit 76224a41c609da02e74543f73f41bf1f18f7ac7d
parent 92360df
1 file changed +4 -1
modified pkg/info.c
@@ -115,8 +115,11 @@ exec_info(int argc, char **argv)
	int sign = 0;

	/* TODO: exclusive opts ? */
-
	while ((ch = getopt(argc, argv, "egxXEdrlsqopO")) != -1) {
+
	while ((ch = getopt(argc, argv, "aegxXEdrlsqopO")) != -1) {
		switch (ch) {
+
			case 'a':
+
				match = MATCH_ALL;
+
				break;
			case 'O':
				opt |= INFO_ORIGIN_SEARCH;  /* this is only for ports compat */
				break;