tools/vm/slabinfo: update options in usage message
authorTobin C. Harding <[email protected]>
Tue, 5 Mar 2019 23:48:59 +0000 (15:48 -0800)
committerLinus Torvalds <[email protected]>
Wed, 6 Mar 2019 05:07:20 +0000 (21:07 -0800)
Currently usage message list only a subset of the available options.
should list them all.

Update options in usage massage to include all available options.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Tobin C. Harding <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
tools/vm/slabinfo.c

index 334b16db0ebbe99b82855c80e641986c4f93edc8..d3908c50c87c4f4c11a22050595a85e3ee822079 100644 (file)
@@ -110,7 +110,7 @@ static void fatal(const char *x, ...)
 static void usage(void)
 {
        printf("slabinfo 4/15/2011. (c) 2007 sgi/(c) 2011 Linux Foundation.\n\n"
-               "slabinfo [-ahnpvtsz] [-d debugopts] [slab-regexp]\n"
+               "slabinfo [-aADefhilnosrStTvz1LXBU] [N=K] [-dafzput] [slab-regexp]\n"
                "-a|--aliases           Show aliases\n"
                "-A|--activity          Most active slabs first\n"
                "-d<options>|--debug=<options> Set/Clear Debug options\n"