mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
tools/vm/slabinfo: fix alternate opts names
Fix mismatches between usage() output and real opts[] options. Add missing alternative opt names, e.g., '-S' had no '--Size' opts[] entry, etc. Signed-off-by: Sergey Senozhatsky <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: David Rientjes <[email protected]> Cc: Joonsoo Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
2651f6e7fe
commit
0d00bf589f
1 changed files with 5 additions and 3 deletions
|
|
@ -1294,12 +1294,14 @@ struct option opts[] = {
|
|||
{ "first-alias", no_argument, NULL, 'f' },
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
{ "inverted", no_argument, NULL, 'i'},
|
||||
{ "slabs", no_argument, NULL, 'l' },
|
||||
{ "numa", no_argument, NULL, 'n' },
|
||||
{ "ops", no_argument, NULL, 'o' },
|
||||
{ "report", no_argument, NULL, 'r' },
|
||||
{ "shrink", no_argument, NULL, 's' },
|
||||
{ "slabs", no_argument, NULL, 'l' },
|
||||
{ "track", no_argument, NULL, 't'},
|
||||
{ "report", no_argument, NULL, 'r' },
|
||||
{ "Size", no_argument, NULL, 'S'},
|
||||
{ "tracking", no_argument, NULL, 't'},
|
||||
{ "Totals", no_argument, NULL, 'T'},
|
||||
{ "validate", no_argument, NULL, 'v' },
|
||||
{ "zero", no_argument, NULL, 'z' },
|
||||
{ "1ref", no_argument, NULL, '1'},
|
||||
|
|
|
|||
Loading…
Reference in a new issue