diff options
Diffstat (limited to 'procps/pmap.c')
-rw-r--r-- | procps/pmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/pmap.c b/procps/pmap.c index c8f728897..5c2d1ad59 100644 --- a/procps/pmap.c +++ b/procps/pmap.c | |||
@@ -18,7 +18,7 @@ | |||
18 | //kbuild:lib-$(CONFIG_PMAP) += pmap.o | 18 | //kbuild:lib-$(CONFIG_PMAP) += pmap.o |
19 | 19 | ||
20 | //usage:#define pmap_trivial_usage | 20 | //usage:#define pmap_trivial_usage |
21 | //usage: "[-xq] PID" | 21 | //usage: "[-xq] PID..." |
22 | //usage:#define pmap_full_usage "\n\n" | 22 | //usage:#define pmap_full_usage "\n\n" |
23 | //usage: "Display process memory usage" | 23 | //usage: "Display process memory usage" |
24 | //usage: "\n" | 24 | //usage: "\n" |
@@ -96,7 +96,7 @@ int pmap_main(int argc UNUSED_PARAM, char **argv) | |||
96 | unsigned opts; | 96 | unsigned opts; |
97 | int ret; | 97 | int ret; |
98 | 98 | ||
99 | opts = getopt32(argv, "xq"); | 99 | opts = getopt32(argv, "^" "xq" "\0" "-1"); /* min one arg */ |
100 | argv += optind; | 100 | argv += optind; |
101 | 101 | ||
102 | ret = 0; | 102 | ret = 0; |