summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2010-12-05 23:24:40 +0000
committerSebastian Rasmussen <sebras@hotmail.com>2010-12-05 23:24:40 +0000
commit4cc0a99a1aa90ef72ce02f82809d0435a6a39b18 (patch)
tree64db3ed5f31c01df89059cc70dbddc66b578d027
parentefc4a05ccd0d6edd3a1eb380d523cc7f29c00dde (diff)
downloadmupdf-4cc0a99a1aa90ef72ce02f82809d0435a6a39b18.tar.xz
Include trailer in grepable output from pdfshow.
-rw-r--r--apps/pdfshow.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/pdfshow.c b/apps/pdfshow.c
index 22891e05..570bf1c2 100644
--- a/apps/pdfshow.c
+++ b/apps/pdfshow.c
@@ -183,6 +183,9 @@ static void showgrep(char *filename)
fz_dropobj(obj);
}
}
+
+ printf("%s:trailer: ", filename);
+ fz_fprintobj(stdout, xref->trailer, 1);
}
int main(int argc, char **argv)