@@ -94,9 +94,9 @@ static gboolean main_option_benchmark = FALSE;
9494gboolean main_option_time_save = FALSE;
9595gboolean main_option_profile = FALSE;
9696gboolean main_option_i18n = FALSE;
97+ gboolean main_option_verbose = FALSE;
9798static gboolean main_option_print_main = FALSE;
9899static gboolean main_option_version = FALSE;
99- static gboolean main_option_verbose = FALSE;
100100static gboolean main_option_test = FALSE;
101101static char * main_option_prefix = NULL ;
102102
@@ -908,10 +908,6 @@ main_set( const char *str )
908908{
909909 Symbol * sym ;
910910
911- #ifdef DEBUG
912- printf ( "main_set: %s\n" , str );
913- #endif /*DEBUG*/
914-
915911 attach_input_string ( str );
916912 if ( !(sym = parse_set_symbol ()) )
917913 return ( FALSE );
@@ -1485,9 +1481,14 @@ main( int argc, char *argv[] )
14851481 if ( main_option_set ) {
14861482 int i ;
14871483
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+
14891488 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+ }
14911492 }
14921493
14931494 /* Make sure our start ws doesn't have modified set. We may have
0 commit comments