@@ -38,7 +38,7 @@ static void help(int exit_code = 1)
38
38
fprintf (stderr, " -s Command I/O via socket (use with -d)\n " );
39
39
#endif
40
40
fprintf (stderr, " -h, --help Print this help message\n " );
41
- fprintf (stderr, " --version Print spike version\n " );
41
+ fprintf (stderr, " --version Print spike version\n " );
42
42
fprintf (stderr, " --halted Start halted, allowing a debugger to connect\n " );
43
43
fprintf (stderr, " --log=<name> File name for option -l\n " );
44
44
fprintf (stderr, " --debug-cmd=<name> Read commands from file (use with -d)\n " );
@@ -97,8 +97,8 @@ static void suggest_help()
97
97
98
98
static void state_version ()
99
99
{
100
- fprintf (stdout, " Spike RISC-V ISA Simulator " SPIKE_VERSION " \n\n " );
101
- exit (0 );
100
+ fprintf (stdout, " Spike RISC-V ISA Simulator " SPIKE_VERSION " \n\n " );
101
+ exit (0 );
102
102
}
103
103
104
104
static bool check_file_exists (const char *fileName)
@@ -394,7 +394,7 @@ int main(int argc, char** argv)
394
394
parser.option (0 , " l2" , 1 , [&](const char * s){l2.reset (cache_sim_t::construct (s, " L2$" ));});
395
395
parser.option (0 , " big-endian" , 0 , [&](const char UNUSED *s){cfg.endianness = endianness_big;});
396
396
parser.option (0 , " misaligned" , 0 , [&](const char UNUSED *s){cfg.misaligned = true ;});
397
- parser.option (0 , " version" , 0 , [&](const char UNUSED *s){state_version ();});
397
+ parser.option (0 , " version" , 0 , [&](const char UNUSED *s){state_version ();});
398
398
parser.option (0 , " log-cache-miss" , 0 , [&](const char UNUSED *s){log_cache = true ;});
399
399
parser.option (0 , " isa" , 1 , [&](const char * s){cfg.isa = s;});
400
400
parser.option (0 , " pmpregions" , 1 , [&](const char * s){cfg.pmpregions = atoul_safe (s);});
0 commit comments