summaryrefslogtreecommitdiff
path: root/procps/pmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/pmap.c')
-rw-r--r--procps/pmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/procps/pmap.c b/procps/pmap.c
index 3dc7339..5c2d1ad 100644
--- a/procps/pmap.c
+++ b/procps/pmap.c
@@ -96,8 +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");
+ opts = getopt32(argv, "^" "xq" "\0" "-1"); /* min one arg */
argv += optind;
ret = 0;