commit - e0f6dc646d6c257869c17f16db977cd064262830
commit + e89f4739041b12a3984107704ad97bcf5f0aec26
blob - a8969c8866f912b8e0a489b8cabf6b6880d7ddae
blob + 6dd3f31fb1a97ac86a21cca43ba9cf8474a0e744
--- gg.1
+++ gg.1
print only the response header
.It meta
print only the response meta
-.It whole
+.It all
print the whole response as-is.
.El
.It Fl H Ar sni
blob - b70fd639d338609452e5fa7875ac6567db3ac574
blob + 8765b1117bafe89450fa8b19d889240db66aaecc
--- gg.c
+++ gg.c
DEBUG_CODE,
DEBUG_HEADER,
DEBUG_META,
- DEBUG_WHOLE,
+ DEBUG_ALL,
};
/* flags */
goto close;
}
- if (debug == DEBUG_WHOLE) {
+ if (debug == DEBUG_ALL) {
write(1, buf, len);
continue;
}
return DEBUG_HEADER;
if (!strcmp(arg, "meta"))
return DEBUG_META;
- if (!strcmp(arg, "whole"))
- return DEBUG_WHOLE;
+ if (!strcmp(arg, "all"))
+ return DEBUG_ALL;
usage();
}