summaryrefslogtreecommitdiff
path: root/procps/iostat.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/iostat.c')
-rw-r--r--procps/iostat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/procps/iostat.c b/procps/iostat.c
index 608d413..fbf6855 100644
--- a/procps/iostat.c
+++ b/procps/iostat.c
@@ -418,8 +418,7 @@ int iostat_main(int argc UNUSED_PARAM, char **argv)
/* Parse and process arguments */
/* -k and -m are mutually exclusive */
- opt_complementary = "k--m:m--k";
- opt = getopt32(argv, "cdtzkm");
+ opt = getopt32(argv, "^" "cdtzkm" "\0" "k--m:m--k");
if (!(opt & (OPT_c + OPT_d)))
/* Default is -cd */
opt |= OPT_c + OPT_d;