@@ -91,7 +91,7 @@ fn main() {
9191 . arg ( clap_arg ! ( "flags" , "" , "flags" , "trace the flags hex value in every instruction." ) )
9292 . arg ( clap_arg ! ( "maps" , "M" , "maps" , "select the memory maps folder" , "PATH" ) )
9393 . arg ( clap_arg ! ( "trace_registers" , "r" , "trace_registers" , "print the register values in every step." ) )
94- . arg ( clap_arg ! ( "trace_register " , "R" , "trace_register" , "trace a specific register in every step, value and content" , "REGISTER1,REGISTER2" ) )
94+ . arg ( clap_arg ! ( "register " , "R" , "trace_register" , "trace a specific register in every step, value and content" , "REGISTER1,REGISTER2" ) )
9595 . arg ( clap_arg ! ( "console" , "c" , "console" , "select in which moment will spawn the console to inspect." , "NUMBER" ) )
9696 . arg ( clap_arg ! ( "loops" , "l" , "loops" , "show loop interations, it is slow." ) )
9797 . arg ( clap_arg ! ( "nocolors" , "n" , "nocolors" , "print without colors for redirecting to a file >out" ) )
@@ -187,6 +187,7 @@ fn main() {
187187 . to_string ( ) ;
188188 emu. cfg . reg_names = regs. split ( ',' ) . map ( |x| x. to_string ( ) ) . collect ( ) ;
189189 }
190+
190191 if matches. is_present ( "string" ) {
191192 emu. cfg . trace_string = true ;
192193 emu. cfg . string_addr = u64:: from_str_radix (
0 commit comments