OSDN Git Service

tools/vm/slabinfo: align usage output columns
authorTobin C. Harding <tobin@kernel.org>
Tue, 5 Mar 2019 23:49:07 +0000 (15:49 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Mar 2019 05:07:20 +0000 (21:07 -0800)
Usage message uses spaces not tabspaces, a few tabspaces have snuck in
making the columns not align correctly when output.

Align usage output columns using spaces instead of tabspaces.

Link: http://lkml.kernel.org/r/20190212001219.27769-4-tobin@kernel.org
Signed-off-by: Tobin C. Harding <tobin@kernel.org>
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/vm/slabinfo.c

index 5119adb..97715b7 100644 (file)
@@ -124,13 +124,13 @@ static void usage(void)
                "-L|--Loss              Sort by loss\n"
                "-n|--numa              Show NUMA information\n"
                "-N|--lines=K           Show the first K slabs\n"
-               "-o|--ops               Show kmem_cache_ops\n"
-               "-r|--report            Detailed report on single slabs\n"
+               "-o|--ops               Show kmem_cache_ops\n"
+               "-r|--report            Detailed report on single slabs\n"
                "-s|--shrink            Shrink slabs\n"
                "-S|--Size              Sort by size\n"
                "-t|--tracking          Show alloc/free information\n"
                "-T|--Totals            Show summary information\n"
-               "-U|--Unreclaim         Show unreclaimable slabs only\n"
+               "-U|--Unreclaim         Show unreclaimable slabs only\n"
                "-v|--validate          Validate slabs\n"
                "-z|--zero              Include empty slabs\n"
                "-1|--1ref              Single reference\n"