From: Raphael Hertzog Date: Fri, 22 Feb 2008 10:17:44 +0000 (+0100) Subject: Fix usage of hyphens in some manual pages X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59f1ca57ba34e6af0c9b2b02c1269c3e1c0062c7;p=dpkg Fix usage of hyphens in some manual pages * man/deb-symbols.5: Escape some hyphens so that they are not used as minus sign. * man/dpkg-architecture.1: Same. * man/dpkg-shlibdeps.1: Same. * man/start-stop-daemon.8: Same. --- diff --git a/debian/changelog b/debian/changelog index 348a7250..72115ee0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -40,6 +40,7 @@ dpkg (1.14.17) UNRELEASED; urgency=low * Some lintian cleanup: - add overrides for some useless I: tags - drop unused overrides + - updated several manual pages to fix hyphen-used-as-minus-sign [ Frank Lichtenheld ] * Add a warning in dpkg-buildpackage if the build-dependencies are not diff --git a/man/ChangeLog b/man/ChangeLog index ed41c608..23b841bf 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -2,6 +2,9 @@ * po/po4a.cfg: Add deb-symbols.5 in the list of manual pages to translate. + * deb-symbols.5, dpkg-architecture.1, dpkg-shlibdeps.1, + start-stop-daemon.8: Espace some hyphens so that they do + not end up as minus sign. 2008-02-19 Frank Lichtenheld diff --git a/man/deb-symbols.5 b/man/deb-symbols.5 index 285f5427..6681faa0 100644 --- a/man/deb-symbols.5 +++ b/man/deb-symbols.5 @@ -37,7 +37,7 @@ etc. Each entry for a library can also have some fields of meta-information. Those fields are stored on lines starting with an asterisk. Currently, the only valid field is \fIBuild-Depends-Package\fR, it indicates the name -of the "-dev" package associated to the library and is used by +of the "\-dev" package associated to the library and is used by dpkg-shlibdeps to make sure that the dependency generated is at least as strict as the corresponding build dependency. .SH EXAMPLES diff --git a/man/dpkg-architecture.1 b/man/dpkg-architecture.1 index e6ed34a1..e66de877 100644 --- a/man/dpkg-architecture.1 +++ b/man/dpkg-architecture.1 @@ -258,7 +258,7 @@ dpkg\-architecture \-elinux\-alpha .IP dpkg\-architecture \-amips \-elinux\-mips .PP -Check if the current architecture or an architecture provided with -a are +Check if the current architecture or an architecture provided with \-a are Linux systems: .IP dpkg\-architecture \-ilinux\-any diff --git a/man/dpkg-shlibdeps.1 b/man/dpkg-shlibdeps.1 index 03c6bedc..6677abce 100644 --- a/man/dpkg-shlibdeps.1 +++ b/man/dpkg-shlibdeps.1 @@ -295,13 +295,13 @@ of the binary to avoid problems. Calling .B dpkg\-shlibdeps -in verbose mode (-v) will provide much more information about where it +in verbose mode (\-v) will provide much more information about where it tried to find the dependency information. This might be useful if you don't understand why it's giving you this error. .SH "SEE ALSO" .BR deb\-shlibs (5), .BR deb\-symbols (5), -.BR dpkg-gensymbols (1). +.BR dpkg\-gensymbols (1). . .SH AUTHORS Copyright (C) 1995-1996 Ian Jackson diff --git a/man/start-stop-daemon.8 b/man/start-stop-daemon.8 index 4ed8a745..59417511 100644 --- a/man/start-stop-daemon.8 +++ b/man/start-stop-daemon.8 @@ -262,19 +262,19 @@ Start the \fBfood\fP daemon, unless one is already running (a process named food, running as user food, with pid in food.pid): .IP .nf -start-stop-daemon --start --oknodo --user food --name food --pidfile /var/run/food.pid --startas /usr/sbin/food --chuid food -- --daemon +start\-stop\-daemon \-\-start \-\-oknodo \-\-user food \-\-name food \-\-pidfile /var/run/food.pid \-\-startas /usr/sbin/food \-\-chuid food \-\- \-\-daemon .fi .PP Send \fBSIGTERM\fP to \fBfood\fP and wait up to 5 seconds for it to stop: .IP .nf -start-stop-daemon --stop --oknodo --user food --name food --pidfile /var/run/food.pid --retry 5 +start\-stop\-daemon \-\-stop \-\-oknodo \-\-user food \-\-name food \-\-pidfile /var/run/food.pid \-\-retry 5 .fi .PP Demonstration of a custom schedule for stopping \fBfood\fP: .IP .nf -start-stop-daemon --stop --oknodo --user food --name food --pidfile /var/run/food.pid --retry=TERM/30/KILL/5 +start\-stop\-daemon \-\-stop \-\-oknodo \-\-user food \-\-name food \-\-pidfile /var/run/food.pid \-\-retry=TERM/30/KILL/5 .fi .PP .