summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-08-06 20:09:26 +0000
committerkris <kris@FreeBSD.org>2001-08-06 20:09:26 +0000
commite7f429490d285f94132046b59db80b6d1fe253c4 (patch)
tree2468a58e432b81b00ad8839e0df07cf029a9ad36 /usr.sbin/pkg_install
parent78f67fb30e8ca1fb1c4405ea4b7fec9c6e5af8cd (diff)
downloadFreeBSD-src-e7f429490d285f94132046b59db80b6d1fe253c4.zip
FreeBSD-src-e7f429490d285f94132046b59db80b6d1fe253c4.tar.gz
Recognise @option directives instead of falling through to the default
"unknown command" clause. PR: 29262
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/info/show.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/info/show.c b/usr.sbin/pkg_install/info/show.c
index 24800c4..8b16bc3 100644
--- a/usr.sbin/pkg_install/info/show.c
+++ b/usr.sbin/pkg_install/info/show.c
@@ -163,6 +163,12 @@ show_plist(char *title, Package *plist, plist_t type)
printf(Quiet ? "@dirrm %s\n" : "\tDeinstall directory remove: %s\n", p->name);
break;
+ case PLIST_OPTION:
+ printf(Quiet ? "@option %s\n" :
+ "\tOption \"%s\" controlling package installation behaviour\n",
+ p->name);
+ break;
+
default:
cleanup(0);
errx(2, __FUNCTION__ ": unknown command type %d (%s)", p->type, p->name);
OpenPOWER on IntegriCloud