summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-05-23 15:08:01 +0200
committerTor Andersson <tor.andersson@artifex.com>2012-05-23 15:08:01 +0200
commit7e0864bebdd42b7c6c243fa78a9d19296eabb85d (patch)
tree30d31309e8a65a71be8247d0cb2d060c05f54348
parentd7d281dea2f9816730337d97d110c6ddc20ff5c0 (diff)
downloadmupdf-7e0864bebdd42b7c6c243fa78a9d19296eabb85d.tar.xz
Update usage messages for mubusy command line tools.
-rw-r--r--apps/mubusy.c1
-rw-r--r--apps/mupdfclean.c2
-rw-r--r--apps/mupdfextract.c2
-rw-r--r--apps/mupdfinfo.c2
-rw-r--r--apps/mupdfposter.c2
-rw-r--r--apps/mupdfshow.c2
6 files changed, 5 insertions, 6 deletions
diff --git a/apps/mubusy.c b/apps/mubusy.c
index 5030f7a0..b520d0ec 100644
--- a/apps/mubusy.c
+++ b/apps/mubusy.c
@@ -75,7 +75,6 @@ int main(int argc, char **argv)
/* Print usage */
fprintf(stderr, "usage: mubusy <command> [options]\n");
- fprintf(stderr, "Available commands:\n");
for (i = 0; i < nelem(tools); i++)
fprintf(stderr, "\t%s\t-- %s\n", tools[i].name, tools[i].desc);
diff --git a/apps/mupdfclean.c b/apps/mupdfclean.c
index 5eff3abd..ad210bdb 100644
--- a/apps/mupdfclean.c
+++ b/apps/mupdfclean.c
@@ -18,7 +18,7 @@ static fz_context *ctx = NULL;
static void usage(void)
{
fprintf(stderr,
- "usage: mupdfclean [options] input.pdf [output.pdf] [pages]\n"
+ "usage: mubusy clean [options] input.pdf [output.pdf] [pages]\n"
"\t-p -\tpassword\n"
"\t-g\tgarbage collect unused objects\n"
"\t-gg\tin addition to -g compact xref table\n"
diff --git a/apps/mupdfextract.c b/apps/mupdfextract.c
index d1131f67..8db6ceaf 100644
--- a/apps/mupdfextract.c
+++ b/apps/mupdfextract.c
@@ -11,7 +11,7 @@ static int dorgb = 0;
static void usage(void)
{
- fprintf(stderr, "usage: pdfextract [options] file.pdf [object numbers]\n");
+ fprintf(stderr, "usage: mubusy extract [options] file.pdf [object numbers]\n");
fprintf(stderr, "\t-p\tpassword\n");
fprintf(stderr, "\t-r\tconvert images to rgb\n");
exit(1);
diff --git a/apps/mupdfinfo.c b/apps/mupdfinfo.c
index 78838ee2..cc5e4611 100644
--- a/apps/mupdfinfo.c
+++ b/apps/mupdfinfo.c
@@ -154,7 +154,7 @@ static void
infousage(void)
{
fprintf(stderr,
- "usage: mupdfinfo [options] [file.pdf ... ]\n"
+ "usage: mubusy info [options] [file.pdf ... ]\n"
"\t-d -\tpassword for decryption\n"
"\t-f\tlist fonts\n"
"\t-i\tlist images\n"
diff --git a/apps/mupdfposter.c b/apps/mupdfposter.c
index c7f61653..317c2c5d 100644
--- a/apps/mupdfposter.c
+++ b/apps/mupdfposter.c
@@ -18,7 +18,7 @@ static int y_factor = 0;
static void usage(void)
{
fprintf(stderr,
- "usage: mupdfposter [options] input.pdf [output.pdf]\n"
+ "usage: mubusy poster [options] input.pdf [output.pdf]\n"
"\t-p -\tpassword\n"
"\t-x\tx decimation factor\n"
"\t-y\ty decimation factor\n");
diff --git a/apps/mupdfshow.c b/apps/mupdfshow.c
index 7114f249..252e7dc2 100644
--- a/apps/mupdfshow.c
+++ b/apps/mupdfshow.c
@@ -12,7 +12,7 @@ static int showcolumn;
static void usage(void)
{
- fprintf(stderr, "usage: mupdfshow [options] file.pdf [grepable] [xref] [trailer] [pagetree] [object numbers]\n");
+ fprintf(stderr, "usage: mubusy show [options] file.pdf [grepable] [xref] [trailer] [pagetree] [object numbers]\n");
fprintf(stderr, "\t-b\tprint streams as binary data\n");
fprintf(stderr, "\t-e\tprint encoded streams (don't decode)\n");
fprintf(stderr, "\t-p\tpassword\n");