[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#226800: use \-\- instead of -- in dpkg-statoverride manpage



Package: dpkg
Version: 1.10.18
Severity: minor
Tags: patch

Attached patch fixes the display in UTF8 locales of dpkg-statoverride.8.
Without it the "--" in front of options arent displayed at all. 
 -- Guido


-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux bogon 2.4.23-pre5-ben0-bogon #1 Wed Dec 10 20:06:56 CET 2003 ppc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages dpkg depends on:
ii  dselect                     1.10.18      a user tool to manage Debian packa
hi  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an

-- no debconf information

--- scripts/dpkg-statoverride.8.orig	2004-01-08 12:35:41.000000000 +0100
+++ scripts/dpkg-statoverride.8	2004-01-08 12:35:59.000000000 +0100
@@ -1,12 +1,12 @@
 .TH DPKG-STATOVERRIDE 8 "November 2000" "Debian project" "dpkg utililties"
 .SH NAME
-dpkg-statoverride -- override ownership and mode of files
+dpkg-statoverride \-\- override ownership and mode of files
 .SH SYNOPSIS
-\fBdpkg-statoverride\fR [options] --add <user> <group> <mode> \fI<file>\fR
+\fBdpkg-statoverride\fR [options] \-\-add <user> <group> <mode> \fI<file>\fR
 .br
-\fBdpkg-statoverride\fR [options] --remove \fI<file>\fR
+\fBdpkg-statoverride\fR [options] \-\-remove \fI<file>\fR
 .br
-\fBdpkg-statoverride\fR [options] --list \fI[<glob-pattern>]\fR
+\fBdpkg-statoverride\fR [options] \-\-list \fI[<glob-pattern>]\fR
 .SH DESCRIPTION
 `\fBstat overrides\fR' are a way to tell dpkg to use a different owner
 or mode for a file when a package is installed. (note: I use the word
@@ -20,36 +20,36 @@
 overrides.
 .SH OPTIONS
 .TP
-.I --add <user> <group> <mode> <file>
+.I \-\-add <user> <group> <mode> <file>
 Add an override for \fB<file>\fR. \fB<file>\fR does not need to exist
 when this command is used; the override will be stored and used later.
 Users and groups can be specified by their name (for example \fBroot\fR
 or \fBnobody\fR), or by their number by prepending the number with a
 `\fB#\fR' (for example \fB#0\fR or \fB#65534\fR).
 .TP
-.I --remove <file>
+.I \-\-remove <file>
 Remove an override for \fB<file>\fR.
 .TP
-.I --list [<glob-pattern>]
+.I \-\-list [<glob-pattern>]
 List all overrides. If a glob pattern is specified restrict the output
 to overrides which match the glob. If there are no overrides or none
 match the glob \fBdpkg-statoverride\fR will exit with an exitcode of 1.
 .TP
-.I --force
+.I \-\-force
 Force an action, even if a sanity check would otherwise prohibit it.
 This is necessary to override an existing override.
 .TP
-.I --update
+.I \-\-update
 Immediately try to change the file to the new owner and mode if it
-exists.  This is only done for \fI--add\fR.
+exists.  This is only done for \fI\-\-add\fR.
 .TP
-.I --quiet
+.I \-\-quiet
 Be less verbose about what we do.
 .TP
-.I --help
+.I \-\-help
 Show version, copyright and usage information.
 .TP
-.I --admindir
+.I \-\-admindir
 Change the directory of the dpkg database where the statoverride file is
 also stored. Defaults to /var/lib/dpkg.
 .SH FILES

Reply to: