summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/lib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2006-06-12 22:39:32 +0000
committerobrien <obrien@FreeBSD.org>2006-06-12 22:39:32 +0000
commit9ba77a73a09e40bdc867d7ace05f19492b877c6a (patch)
tree1b8bcca3ba1c0e0ecb9590f99f26f8c8e7857371 /usr.sbin/pkg_install/lib
parentefa082aa7447f58c4152d9dbe6a4fb84462423ae (diff)
downloadFreeBSD-src-9ba77a73a09e40bdc867d7ace05f19492b877c6a.zip
FreeBSD-src-9ba77a73a09e40bdc867d7ace05f19492b877c6a.tar.gz
Allow variable amounts of verbosity.
Diffstat (limited to 'usr.sbin/pkg_install/lib')
-rw-r--r--usr.sbin/pkg_install/lib/global.c2
-rw-r--r--usr.sbin/pkg_install/lib/lib.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/global.c b/usr.sbin/pkg_install/lib/global.c
index 8e94f56..e136ec8 100644
--- a/usr.sbin/pkg_install/lib/global.c
+++ b/usr.sbin/pkg_install/lib/global.c
@@ -26,7 +26,7 @@ __FBSDID("$FreeBSD$");
/* These are global for all utils */
Boolean Quiet = FALSE;
-Boolean Verbose = FALSE;
Boolean Fake = FALSE;
Boolean Force = FALSE;
int AutoAnswer = FALSE;
+int Verbose = 0; /* Allow multiple levels of verbose. */
diff --git a/usr.sbin/pkg_install/lib/lib.h b/usr.sbin/pkg_install/lib/lib.h
index ad87024..933af38 100644
--- a/usr.sbin/pkg_install/lib/lib.h
+++ b/usr.sbin/pkg_install/lib/lib.h
@@ -230,9 +230,9 @@ int version_cmp(const char *, const char *);
/* Externs */
extern Boolean Quiet;
-extern Boolean Verbose;
extern Boolean Fake;
extern Boolean Force;
extern int AutoAnswer;
+extern int Verbose;
#endif /* _INST_LIB_LIB_H_ */
OpenPOWER on IntegriCloud