summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-11-28 00:29:52 +0000
committerKarl Berry <karl@freefriends.org>2014-11-28 00:29:52 +0000
commite3050079bf005fb68d8988605c8d2d339909234a (patch)
tree643c137b0eb8dcb49517c05222bc292f4bdd13a1 /Build/source
parentc7cbb3204c55f770253d06d1b5bf0ac87d8d82e7 (diff)
basic purpose in help message
git-svn-id: svn://tug.org/texlive/trunk@35676 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog7
-rw-r--r--Build/source/texk/dvipdfm-x/dvipdfmx.c13
-rw-r--r--Build/source/texk/dvipdfm-x/xbb.c4
3 files changed, 17 insertions, 7 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 57ffd036c1a..c20007ad496 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,10 @@
+2014-11-28 Karl Berry <karl@tug.org>
+
+ * dvipdfmx.c (main): accept --extractbb per help message.
+ (show_usage): one line of description.
+ * xbb.c (show_usage): likewise.
+ Suggestion from Tom Schneider, texhax 22 Nov 2014 08:53:19.
+
2014-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
* dvipdfmx.c: Modified support to make DLL(s) in W32TeX.
diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx.c b/Build/source/texk/dvipdfm-x/dvipdfmx.c
index 453bbd4fab1..9fc45f6e640 100644
--- a/Build/source/texk/dvipdfm-x/dvipdfmx.c
+++ b/Build/source/texk/dvipdfm-x/dvipdfmx.c
@@ -168,9 +168,11 @@ show_version (void)
static void
show_usage (void)
{
- printf ("\nUsage: %s [options] [dvifile[.dvi|.xdv]]\n", my_name);
- printf (" %s --extractbb|--xbb|--ebb [options]\tBe \"extractbb\"\n", my_name);
+ printf ("\nUsage: %s [OPTION]... [DVIFILE[.dvi|.xdv]]\n", my_name);
+ printf (" %s --extractbb|--xbb|--ebb [OPTION]...\tBe \"extractbb\"\n",
+ my_name);
printf (" %s --help|--version\n", my_name);
+ printf ("Convert DVI or XDV intput to PDF; defaults given below.\n");
printf ("\nOptions:\n");
printf (" -c \t\tIgnore color specials (for B&W printing)\n");
printf (" --dvipdfm\tEnable DVIPDFM emulation mode\n");
@@ -180,16 +182,16 @@ show_usage (void)
printf (" -h | --help \tShow this help message and exit\n");
printf (" -l \t\tLandscape mode\n");
printf (" -m number\tSet additional magnification [1.0]\n");
- printf (" -o filename\tSet output file name, \"-\" for stdout [dvifile.pdf]\n");
+ printf (" -o filename\tSet output file name, \"-\" for stdout [DVIFILE.pdf]\n");
printf (" -p papersize\tSet papersize [a4]\n");
printf (" -q \t\tBe quiet\n");
printf (" -r resolution\tSet resolution (in DPI) for raster fonts [600]\n");
printf (" -s pages\tSelect page ranges (-)\n");
- printf (" -t \t\tEmbed thumbnail images of PNG format [dvifile.1] \n");
+ printf (" -t \t\tEmbed thumbnail images of PNG format [DVIFILE.1] \n");
printf (" --version\tOutput version information and exit\n");
printf (" -v \t\tBe verbose\n");
printf (" -vv\t\tBe more verbose\n");
- printf (" --kpathsea-debug number\tSet kpathsearch debugging flags [0]\n");
+ printf (" --kpathsea-debug number\tSet kpathsea debugging flags [0]\n");
printf (" -x dimension\tSet horizontal offset [1.0in]\n");
printf (" -y dimension\tSet vertical offset [1.0in]\n");
printf (" -z number \tSet zlib compression level (0-9) [9]\n");
@@ -931,6 +933,7 @@ CDECL main (int argc, char *argv[])
if (argc > 1 &&
(STREQ (argv[1], "--xbb") ||
+ STREQ (argv[1], "--extractbb") ||
STREQ (argv[1], "--dvipdfm") ||
STREQ (argv[1], "--ebb"))) {
argc--;
diff --git a/Build/source/texk/dvipdfm-x/xbb.c b/Build/source/texk/dvipdfm-x/xbb.c
index 0a7d2a20728..c8cb7868bc3 100644
--- a/Build/source/texk/dvipdfm-x/xbb.c
+++ b/Build/source/texk/dvipdfm-x/xbb.c
@@ -46,7 +46,6 @@
static void show_version(void)
{
fprintf (stdout, "\nThis is " XBB_PROGRAM " Version " VERSION "\n");
- fprintf (stdout, "A bounding box extraction utility from PDF, PNG, and JPEG.\n");
fprintf (stdout, "\nCopyright (C) 2008-2014 by Jin-Hwan Cho and Matthias Franz\n");
fprintf (stdout, "\nThis is free software; you can redistribute it and/or modify\n");
fprintf (stdout, "it under the terms of the GNU General Public License as published by\n");
@@ -56,8 +55,9 @@ static void show_version(void)
static void show_usage(void)
{
- fprintf (stdout, "\nUsage: " XBB_PROGRAM " [-q|-v] [-O] [-m|-x] file...\n");
+ fprintf (stdout, "\nUsage: " XBB_PROGRAM " [-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, " -h | --help\tShow this help message and exit\n");
fprintf (stdout, " --version\tOutput version information and exit\n");