From 7e0864bebdd42b7c6c243fa78a9d19296eabb85d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 23 May 2012 15:08:01 +0200 Subject: Update usage messages for mubusy command line tools. --- apps/mubusy.c | 1 - apps/mupdfclean.c | 2 +- apps/mupdfextract.c | 2 +- apps/mupdfinfo.c | 2 +- apps/mupdfposter.c | 2 +- apps/mupdfshow.c | 2 +- 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 [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"); -- cgit v1.2.3