@@ -94,9 +94,9 @@ static gboolean main_option_benchmark = FALSE;
94
94
gboolean main_option_time_save = FALSE;
95
95
gboolean main_option_profile = FALSE;
96
96
gboolean main_option_i18n = FALSE;
97
+ gboolean main_option_verbose = FALSE;
97
98
static gboolean main_option_print_main = FALSE;
98
99
static gboolean main_option_version = FALSE;
99
- static gboolean main_option_verbose = FALSE;
100
100
static gboolean main_option_test = FALSE;
101
101
static char * main_option_prefix = NULL ;
102
102
@@ -908,10 +908,6 @@ main_set( const char *str )
908
908
{
909
909
Symbol * sym ;
910
910
911
- #ifdef DEBUG
912
- printf ( "main_set: %s\n" , str );
913
- #endif /*DEBUG*/
914
-
915
911
attach_input_string ( str );
916
912
if ( !(sym = parse_set_symbol ()) )
917
913
return ( FALSE );
@@ -1485,9 +1481,14 @@ main( int argc, char *argv[] )
1485
1481
if ( main_option_set ) {
1486
1482
int i ;
1487
1483
1488
- for ( i = 0 ; main_option_set [i ]; i ++ )
1484
+ for ( i = 0 ; main_option_set [i ]; i ++ ) {
1485
+ if ( main_option_verbose )
1486
+ printf ( "main_set: %s\n" , main_option_set [i ] );
1487
+
1489
1488
if ( !main_set ( main_option_set [i ] ) )
1490
- main_log_add ( "%s\n" , error_get_sub () );
1489
+ main_log_add ( "%s\n%s" ,
1490
+ error_get_top (), error_get_sub () );
1491
+ }
1491
1492
}
1492
1493
1493
1494
/* Make sure our start ws doesn't have modified set. We may have
0 commit comments