Package: mupdf-tools
Version: 1.14.0+ds1-4
Severity: normal
File: /usr/bin/mutool

See patch. Thanks

-- System Information:
Debian Release: 10.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 
'proposed-updates-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mupdf-tools depends on:
ii  libc6            2.28-10
ii  libfreetype6     2.9.1-3+deb10u1
ii  libharfbuzz0b    2.3.1-1
ii  libjbig2dec0     0.16-1
ii  libjpeg62-turbo  1:1.5.2-2+b1
ii  libopenjp2-7     2.3.0-2+deb10u1
ii  libssl1.1        1.1.1d-0+deb10u3
ii  zlib1g           1:1.2.11.dfsg-1

mupdf-tools recommends no packages.

mupdf-tools suggests no packages.

-- no debconf information
>From e4b3d41e1bfbf45d70fffdfe47372e7a559c9397 Mon Sep 17 00:00:00 2001
From: Mathieu Malaterre <ma...@debian.org>
Date: Thu, 20 Aug 2020 10:33:26 +0200
Subject: [PATCH] Remove short syntax from man page, this has never been
 implemented.

Code is simply:

static void show(char *sel)
{
        if (!strcmp(sel, "trailer"))
                showtrailer();
        else if (!strcmp(sel, "xref"))
                showxref();
        else if (!strcmp(sel, "pages"))
                showpages();
        else if (!strcmp(sel, "grep"))
                showgrep();
        else if (!strcmp(sel, "outline"))
                showoutline();
        else if (!strcmp(sel, "js"))
                showjs();
        else if (!strcmp(sel, "form"))
                showform();
        else
                showpathroot(sel);
}

Signed-off-by: Mathieu Malaterre <ma...@debian.org>
---
 docs/man/mutool.1 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/man/mutool.1 b/docs/man/mutool.1
index 2d9c01724..bbb44a574 100644
--- a/docs/man/mutool.1
+++ b/docs/man/mutool.1
@@ -337,22 +337,22 @@ Print streams in their original encoded (or compressed) 
form.
 .PP
 Specify objects by number, or use one of the following special names:
 .TP
-.B 'xref' or 'x'
+.B 'xref'
 Print the cross reference table.
 .TP
-.B 'trailer' or 't'
+.B 'trailer'
 Print the trailer dictionary.
 .TP
-.B 'encrypt' or 'e'
+.B 'encrypt'
 Print the encryption dictionary.
 .TP
-.B 'pagetree' or 'p'
+.B 'pagetree'
 List the object numbers for every page.
 .TP
-.B 'grep' or 'g'
+.B 'grep'
 Print all the objects in the file in a compact one-line format suitable for 
piping to grep.
 .TP
-.B 'outline' or 'o'
+.B 'outline'
 Print the outline (table of contents).
 
 .SH RUN
-- 
2.20.1

Reply via email to