diff --git a/src/target/target.c b/src/target/target.c index 3396d99c469..8a162e6d66d 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -437,7 +437,7 @@ static bool target_cmd_mass_erase(target_s *const t, const int argc, const char (void)argc; (void)argv; if (!t || !t->mass_erase) { - gdb_out("Mass erase not implemented for target_s"); + gdb_out("Mass erase not implemented for target\n"); return true; } gdb_out("Erasing device Flash: "); @@ -449,9 +449,9 @@ static bool target_cmd_mass_erase(target_s *const t, const int argc, const char static bool target_cmd_range_erase(target_s *const t, const int argc, const char **const argv) { if (argc < 3) { - gdb_out("usage: monitor erase_range
"); - gdb_out("\t
is an address in the first page to erase"); - gdb_out("\t is the number bytes after that to erase, rounded to the next higher whole page"); + gdb_out("usage: monitor erase_range
\n"); + gdb_out("\t
is an address in the first page to erase\n"); + gdb_out("\t is the number bytes after that to erase, rounded to the next higher whole page\n"); return true; } const uint32_t addr = strtoul(argv[1], NULL, 0);