mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
Command usage cleanup
Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage fields. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
This commit is contained in:
parent
79621bc10b
commit
2fb2604d5c
163 changed files with 361 additions and 352 deletions
|
@ -107,7 +107,7 @@ int do_bedbug_dis (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
} /* do_bedbug_dis */
|
||||
|
||||
U_BOOT_CMD (ds, 3, 1, do_bedbug_dis,
|
||||
"ds - disassemble memory\n",
|
||||
"disassemble memory",
|
||||
"ds <address> [# instructions]\n");
|
||||
|
||||
/* ======================================================================
|
||||
|
@ -160,7 +160,7 @@ int do_bedbug_asm (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
} /* do_bedbug_asm */
|
||||
|
||||
U_BOOT_CMD (as, 2, 0, do_bedbug_asm,
|
||||
"as - assemble memory\n", "as <address>\n");
|
||||
"assemble memory", "as <address>\n");
|
||||
|
||||
/* ======================================================================
|
||||
* Used to set a break point from the interpreter. Simply calls into the
|
||||
|
@ -177,7 +177,7 @@ int do_bedbug_break (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
} /* do_bedbug_break */
|
||||
|
||||
U_BOOT_CMD (break, 3, 0, do_bedbug_break,
|
||||
"break - set or clear a breakpoint\n",
|
||||
"set or clear a breakpoint",
|
||||
" - Set or clear a breakpoint\n"
|
||||
"break <address> - Break at an address\n"
|
||||
"break off <bp#> - Disable breakpoint.\n"
|
||||
|
@ -277,7 +277,7 @@ int do_bedbug_continue (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
} /* do_bedbug_continue */
|
||||
|
||||
U_BOOT_CMD (continue, 1, 0, do_bedbug_continue,
|
||||
"continue- continue from a breakpoint\n",
|
||||
"continue from a breakpoint",
|
||||
" - continue from a breakpoint.\n");
|
||||
|
||||
/* ======================================================================
|
||||
|
@ -308,7 +308,7 @@ int do_bedbug_step (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
} /* do_bedbug_step */
|
||||
|
||||
U_BOOT_CMD (step, 1, 1, do_bedbug_step,
|
||||
"step - single step execution.\n",
|
||||
"single step execution.",
|
||||
" - single step execution.\n");
|
||||
|
||||
/* ======================================================================
|
||||
|
@ -339,7 +339,7 @@ int do_bedbug_next (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
} /* do_bedbug_next */
|
||||
|
||||
U_BOOT_CMD (next, 1, 1, do_bedbug_next,
|
||||
"next - single step execution, stepping over subroutines.\n",
|
||||
"single step execution, stepping over subroutines.",
|
||||
" - single step execution, stepping over subroutines.\n");
|
||||
|
||||
/* ======================================================================
|
||||
|
@ -384,7 +384,7 @@ int do_bedbug_stack (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
} /* do_bedbug_stack */
|
||||
|
||||
U_BOOT_CMD (where, 1, 1, do_bedbug_stack,
|
||||
"where - Print the running stack.\n",
|
||||
"Print the running stack.",
|
||||
" - Print the running stack.\n");
|
||||
|
||||
/* ======================================================================
|
||||
|
@ -405,7 +405,7 @@ int do_bedbug_rdump (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
|||
} /* do_bedbug_rdump */
|
||||
|
||||
U_BOOT_CMD (rdump, 1, 1, do_bedbug_rdump,
|
||||
"rdump - Show registers.\n", " - Show registers.\n");
|
||||
"Show registers.", " - Show registers.\n");
|
||||
/* ====================================================================== */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue