summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-12-03 05:41:36 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-12-03 05:41:36 +0000
commit6ff4c0023bf5aaaac432e8b934235ba1fe4e02a8 (patch)
treed24f0f344c27c9a7d6c0bb3ebf378f3577e5fb2f /Build/source/texk/dvipdfm-x
parentaf071407a1fdec8280ef74693c81c066725e9315 (diff)
texk/dvipdfm-x/xbb.c: Support to specify a page to extract boundingbox
git-svn-id: svn://tug.org/texlive/trunk@35729 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x')
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog2
-rw-r--r--Build/source/texk/dvipdfm-x/xbb.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 455440e9be7..3242c52adcf 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,7 +1,7 @@
2014-12-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* xbb.c: Support to specify a page in a multi-page PDF to extract
- bounding box, usage: extractbb -f page foo.pdf.
+ bounding box, usage: extractbb -p page foo.pdf.
2014-12-01 Karl Berry <karl@tug.org>
diff --git a/Build/source/texk/dvipdfm-x/xbb.c b/Build/source/texk/dvipdfm-x/xbb.c
index 12d8002f315..8b3d4c445e1 100644
--- a/Build/source/texk/dvipdfm-x/xbb.c
+++ b/Build/source/texk/dvipdfm-x/xbb.c
@@ -57,13 +57,13 @@ static void show_version(void)
static void show_usage(void)
{
- fprintf (stdout, "\nUsage: " XBB_PROGRAM " [-f page] [-q|-v] [-O] [-m|-x] FILE...\n");
+ fprintf (stdout, "\nUsage: " XBB_PROGRAM " [-p page] [-q|-v] [-O] [-m|-x] FILE...\n");
fprintf (stdout, " " XBB_PROGRAM " --help|--version\n");
fprintf (stdout, "Extract bounding box from PDF, PNG, or JPEG file; default output below.\n");
fprintf (stdout, "\nOptions:\n");
- fprintf (stdout, " -f page\tSpecify a PDF page to extract bounding box\n");
fprintf (stdout, " -h | --help\tShow this help message and exit\n");
fprintf (stdout, " --version\tOutput version information and exit\n");
+ fprintf (stdout, " -p page\tSpecify a PDF page to extract bounding box\n");
fprintf (stdout, " -q\t\tBe quiet\n");
fprintf (stdout, " -v\t\tBe verbose\n");
fprintf (stdout, " -O\t\tWrite output to stdout\n");
@@ -305,7 +305,7 @@ int extractbb (int argc, char *argv[])
case 'h':
show_usage();
exit (0);
- case 'f':
+ case 'p':
argc--;
argv++;
Include_Page = atol (argv[0]);