Allow variable amounts of verbosity.

This commit is contained in:
David E. O'Brien 2006-06-12 22:39:32 +00:00
parent 5c69ad8374
commit 3b26c608f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159554
7 changed files with 7 additions and 7 deletions

View File

@ -108,7 +108,7 @@ main(int argc, char **argv)
while ((ch = getopt(argc, argv, Options)) != -1) {
switch(ch) {
case 'v':
Verbose = TRUE;
Verbose++;
break;
case 'p':

View File

@ -60,7 +60,7 @@ main(int argc, char **argv)
while ((ch = getopt(argc, argv, Options)) != -1)
switch(ch) {
case 'v':
Verbose = TRUE;
Verbose++;
break;
case 'x':

View File

@ -52,7 +52,7 @@ main(int argc, char **argv)
while ((ch = getopt(argc, argv, Options)) != -1)
switch(ch) {
case 'v':
Verbose = TRUE;
Verbose++;
break;
case 'f':

View File

@ -69,7 +69,7 @@ main(int argc, char **argv)
break;
case 'v':
Verbose = TRUE;
Verbose++;
/* Reasonable definition of 'everything' */
Flags = SHOW_COMMENT | SHOW_DESC | SHOW_PLIST | SHOW_INSTALL |
SHOW_DEINSTALL | SHOW_REQUIRE | SHOW_DISPLAY | SHOW_MTREE;

View File

@ -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. */

View File

@ -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_ */

View File

@ -54,7 +54,7 @@ main(int argc, char **argv)
else while ((ch = getopt(argc, argv, Options)) != -1) {
switch(ch) {
case 'v':
Verbose = TRUE;
Verbose++;
break;
case 'I':