diff options
Diffstat (limited to 'procps/pmap.c')
-rw-r--r-- | procps/pmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/procps/pmap.c b/procps/pmap.c index c8f7288..3dc7339 100644 --- a/procps/pmap.c +++ b/procps/pmap.c @@ -18,7 +18,7 @@ //kbuild:lib-$(CONFIG_PMAP) += pmap.o //usage:#define pmap_trivial_usage -//usage: "[-xq] PID" +//usage: "[-xq] PID..." //usage:#define pmap_full_usage "\n\n" //usage: "Display process memory usage" //usage: "\n" @@ -96,6 +96,7 @@ int pmap_main(int argc UNUSED_PARAM, char **argv) unsigned opts; int ret; + opt_complementary = "-1"; /* min one arg */ opts = getopt32(argv, "xq"); argv += optind; |