diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2013-02-04 16:52:14 +0100 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2013-03-02 15:52:18 +0100 |
commit | 074604af21c971cf2fcfaa0f6012b4b0c9ca891a (patch) | |
tree | 99be6f5e72b1438866e5bbce8c010fb3269eaa75 /lib/lru_cache.c | |
parent | kdb: Fix overlap in buffers with strcpy (diff) | |
download | linux-074604af21c971cf2fcfaa0f6012b4b0c9ca891a.tar.xz linux-074604af21c971cf2fcfaa0f6012b4b0c9ca891a.zip |
kdb_main: fix help print
The help command was chopping all the usage instructions such that
they were not readable.
Example:
bta [D|R|S|T|C|Z|E|U|I| Backtrace all processes matching state flag
per_cpu <sym> [<bytes>] [<c Display per_cpu variables
Where as it should look like:
bta [D|R|S|T|C|Z|E|U|I|M|A]
Backtrace all processes matching state flag
per_cpu <sym> [<bytes>] [<cpu>]
Display per_cpu variables
All that is needed is to check the how long the cmd_usage is and jump
to the next line when appropriate.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'lib/lru_cache.c')
0 files changed, 0 insertions, 0 deletions