We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1a188f commit c79fba8Copy full SHA for c79fba8
1 file changed
src/mctl.c
@@ -618,6 +618,9 @@ static int cmd(int argc, char *argv[])
618
619
cmd = compose(match(argc, argv), buf, sizeof(buf));
620
while (cmdind < argc) {
621
+ if (!strcmp(argv[cmdind], "json"))
622
+ plain = 1; /* enforce plain mode for json output */
623
+
624
strlcat(buf, " ", sizeof(buf));
625
strlcat(buf, argv[cmdind++], sizeof(buf));
626
}
0 commit comments