summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/tools/mutool.c22
1 files changed, 15 insertions, 7 deletions
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
};