From 876f1fe8aaa9b110b3211fedbe5decbd67cf8c45 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 2 Jun 2017 12:45:25 -0700 Subject: Alphabetically sort mutool options. --- source/tools/mutool.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'source/tools') diff --git a/source/tools/mutool.c b/source/tools/mutool.c index 68c647a4..688c4fbb 100644 --- a/source/tools/mutool.c +++ b/source/tools/mutool.c @@ -30,21 +30,29 @@ static struct { char *name; char *desc; } tools[] = { +#if FZ_ENABLE_PDF + { pdfclean_main, "clean", "rewrite pdf file" }, +#endif { muconvert_main, "convert", "convert document" }, - { mudraw_main, "draw", "convert document" }, -#if FZ_ENABLE_JS - { murun_main, "run", "run javascript" }, +#if FZ_ENABLE_PDF + { pdfcreate_main, "create", "create pdf document" }, #endif + { mudraw_main, "draw", "convert document" }, #if FZ_ENABLE_PDF - { pdfclean_main, "clean", "rewrite pdf file" }, { pdfextract_main, "extract", "extract font and image resources" }, +#endif +#if FZ_ENABLE_PDF { pdfinfo_main, "info", "show information about pdf resources" }, + { pdfmerge_main, "merge", "merge pages from multiple pdf sources into a new pdf" }, { pdfpages_main, "pages", "show information about pdf pages" }, + { pdfportfolio_main, "portfolio", "manipulate PDF portfolios" }, { pdfposter_main, "poster", "split large page into many tiles" }, +#endif +#if FZ_ENABLE_JS + { murun_main, "run", "run javascript" }, +#endif +#if FZ_ENABLE_PDF { pdfshow_main, "show", "show internal pdf objects" }, - { pdfcreate_main, "create", "create pdf document" }, - { pdfmerge_main, "merge", "merge pages from multiple pdf sources into a new pdf" }, - { pdfportfolio_main, "portfolio", "manipulate PDF portfolios" }, #endif }; -- cgit v1.2.3