diff options
author | Eric Wong <e@80x24.org> | 2023-01-09 06:21:36 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-01-09 06:22:13 +0000 |
commit | e8eb1187f958179482ebc0efd2d51719f44cc8a0 (patch) | |
tree | 9ea3c11b95af8fc8ca863db963ccd3c3a2c659d7 | |
parent | 316732f4b0f853394085ee2355b3b9b19f04f68f (diff) | |
download | mwrap-e8eb1187f958179482ebc0efd2d51719f44cc8a0.tar.gz |
This makes the .CSV download discoverable so I don't have to document it in the manpage \o/
-rw-r--r-- | ext/mwrap/httpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mwrap/httpd.h b/ext/mwrap/httpd.h index fe4fe2f..ef4d83c 100644 --- a/ext/mwrap/httpd.h +++ b/ext/mwrap/httpd.h @@ -654,7 +654,8 @@ static enum mw_qev each_gt(struct mw_h1 *h1, struct mw_h1req *h1r, fprintf(fp, "<html><head><title>mwrap each >%lu" "</title></head><body><p>mwrap each >%lu " "(change `%lu' in URL to adjust filtering) - " - "MWRAP=bt:%u", min, min, min, depth); + "MWRAP=bt:%u <a href=\"%lu.csv\">.csv</a>", + min, min, min, depth, min); show_stats(fp); /* need borders to distinguish multi-level traces */ if (depth) |