aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/options.c b/options.c
index b94e5020..ef6bdf37 100644
--- a/options.c
+++ b/options.c
@@ -84,7 +84,7 @@ static struct option longoptions[] = {
if negative, the command line is has one or more
syntax errors.
calls: none.
- globals: none.
+ globals: outlevel.
*********************************************************************/
int parsecmdline (argc,argv,options)
@@ -134,11 +134,11 @@ struct optrec *options;
break;
case 'v':
case LA_VERBOSE:
- options->verbose = !0;
+ outlevel = O_VERBOSE;
break;
case 's':
case LA_SILENT:
- options->silent = !0;
+ outlevel = O_SILENT;
break;
case 'c':
case LA_STDOUT:
@@ -316,6 +316,8 @@ struct optrec *options;
strcat(options->poprcfile, "/");
strcat(options->poprcfile, POPRC_NAME);
+ outlevel = O_NORMAL;
+
return(0);
}