diff options
Diffstat (limited to 'usr.sbin/pkg_install/updating/main.c')
-rw-r--r-- | usr.sbin/pkg_install/updating/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/updating/main.c b/usr.sbin/pkg_install/updating/main.c index 0ab2ec0..993ccd5 100644 --- a/usr.sbin/pkg_install/updating/main.c +++ b/usr.sbin/pkg_install/updating/main.c @@ -19,7 +19,7 @@ __FBSDID("$FreeBSD$"); #include <sysexits.h> #include <getopt.h> -#include "lib.h" +#include <pkg.h> #include "pathnames.h" typedef struct installedport { @@ -87,6 +87,8 @@ main(int argc, char *argv[]) DIR *dir; FILE *fd; + pkg_wrap(PKG_INSTALL_VERSION, argv); + while ((ch = getopt_long(argc, argv, opts, longopts, NULL)) != -1) { switch (ch) { case 'd': |