@@ -38,7 +38,7 @@ static void help(int exit_code = 1)
3838 fprintf (stderr, " -s Command I/O via socket (use with -d)\n " );
3939#endif
4040 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 " );
4242 fprintf (stderr, " --halted Start halted, allowing a debugger to connect\n " );
4343 fprintf (stderr, " --log=<name> File name for option -l\n " );
4444 fprintf (stderr, " --debug-cmd=<name> Read commands from file (use with -d)\n " );
@@ -97,8 +97,8 @@ static void suggest_help()
9797
9898static void state_version ()
9999{
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 );
102102}
103103
104104static bool check_file_exists (const char *fileName)
@@ -394,7 +394,7 @@ int main(int argc, char** argv)
394394 parser.option (0 , " l2" , 1 , [&](const char * s){l2.reset (cache_sim_t::construct (s, " L2$" ));});
395395 parser.option (0 , " big-endian" , 0 , [&](const char UNUSED *s){cfg.endianness = endianness_big;});
396396 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 ();});
398398 parser.option (0 , " log-cache-miss" , 0 , [&](const char UNUSED *s){log_cache = true ;});
399399 parser.option (0 , " isa" , 1 , [&](const char * s){cfg.isa = s;});
400400 parser.option (0 , " pmpregions" , 1 , [&](const char * s){cfg.pmpregions = atoul_safe (s);});
0 commit comments