From 1a9213a862e2b7c2b3e918d7700a82f014004b08 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 2 Jul 1996 21:52:18 +0000 Subject: Eliminated options->silent field. svn path=/trunk/; revision=25 --- options.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'options.c') 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); } -- cgit v1.2.3