diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2001-08-06 20:09:26 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2001-08-06 20:09:26 +0000 |
commit | 1e1bbe0f97e5529441c15ba7ed4c4e66b18a363e (patch) | |
tree | 2468a58e432b81b00ad8839e0df07cf029a9ad36 /usr.sbin | |
parent | d047ecf50bdf5a1b622db2d01d03c9e52abf496e (diff) | |
download | src-1e1bbe0f97e5529441c15ba7ed4c4e66b18a363e.tar.gz src-1e1bbe0f97e5529441c15ba7ed4c4e66b18a363e.zip |
Recognise @option directives instead of falling through to the default
"unknown command" clause.
PR: 29262
Notes
Notes:
svn path=/head/; revision=81218
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_install/info/show.c | 6 |
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 24800c4fe44d..8b16bc3b0dd3 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); |