forked from luck/tmp_suning_uos_patched
page-types: whitespace alignment
Align the output when page-type -h is invoked. Signed-off-by: Alex Chiang <achiang@hp.com> Acked-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
dcfe730c60
commit
9fdcd886ab
@ -673,35 +673,35 @@ static void usage(void)
|
||||
|
||||
printf(
|
||||
"page-types [options]\n"
|
||||
" -r|--raw Raw mode, for kernel developers\n"
|
||||
" -r|--raw Raw mode, for kernel developers\n"
|
||||
" -d|--describe flags Describe flags\n"
|
||||
" -a|--addr addr-spec Walk a range of pages\n"
|
||||
" -b|--bits bits-spec Walk pages with specified bits\n"
|
||||
" -p|--pid pid Walk process address space\n"
|
||||
" -a|--addr addr-spec Walk a range of pages\n"
|
||||
" -b|--bits bits-spec Walk pages with specified bits\n"
|
||||
" -p|--pid pid Walk process address space\n"
|
||||
#if 0 /* planned features */
|
||||
" -f|--file filename Walk file address space\n"
|
||||
" -f|--file filename Walk file address space\n"
|
||||
#endif
|
||||
" -l|--list Show page details in ranges\n"
|
||||
" -L|--list-each Show page details one by one\n"
|
||||
" -N|--no-summary Don't show summay info\n"
|
||||
" -X|--hwpoison hwpoison pages\n"
|
||||
" -x|--unpoison unpoison pages\n"
|
||||
" -h|--help Show this usage message\n"
|
||||
" -l|--list Show page details in ranges\n"
|
||||
" -L|--list-each Show page details one by one\n"
|
||||
" -N|--no-summary Don't show summay info\n"
|
||||
" -X|--hwpoison hwpoison pages\n"
|
||||
" -x|--unpoison unpoison pages\n"
|
||||
" -h|--help Show this usage message\n"
|
||||
"flags:\n"
|
||||
" 0x10 bitfield format, e.g.\n"
|
||||
" anon bit-name, e.g.\n"
|
||||
" 0x10,anon comma-separated list, e.g.\n"
|
||||
" 0x10 bitfield format, e.g.\n"
|
||||
" anon bit-name, e.g.\n"
|
||||
" 0x10,anon comma-separated list, e.g.\n"
|
||||
"addr-spec:\n"
|
||||
" N one page at offset N (unit: pages)\n"
|
||||
" N+M pages range from N to N+M-1\n"
|
||||
" N,M pages range from N to M-1\n"
|
||||
" N, pages range from N to end\n"
|
||||
" ,M pages range from 0 to M-1\n"
|
||||
" N one page at offset N (unit: pages)\n"
|
||||
" N+M pages range from N to N+M-1\n"
|
||||
" N,M pages range from N to M-1\n"
|
||||
" N, pages range from N to end\n"
|
||||
" ,M pages range from 0 to M-1\n"
|
||||
"bits-spec:\n"
|
||||
" bit1,bit2 (flags & (bit1|bit2)) != 0\n"
|
||||
" bit1,bit2=bit1 (flags & (bit1|bit2)) == bit1\n"
|
||||
" bit1,~bit2 (flags & (bit1|bit2)) == bit1\n"
|
||||
" =bit1,bit2 flags == (bit1|bit2)\n"
|
||||
" bit1,bit2 (flags & (bit1|bit2)) != 0\n"
|
||||
" bit1,bit2=bit1 (flags & (bit1|bit2)) == bit1\n"
|
||||
" bit1,~bit2 (flags & (bit1|bit2)) == bit1\n"
|
||||
" =bit1,bit2 flags == (bit1|bit2)\n"
|
||||
"bit-names:\n"
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user