Code

patches: Added bts589660-updated-manpage.
authorSebastian Harl <sh@tokkee.org>
Fri, 30 Jul 2010 12:35:09 +0000 (14:35 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 30 Jul 2010 12:35:09 +0000 (14:35 +0200)
Updated obsolete parts of the manpage.

Thanks to Martin Hradil for reporting this!
Closes: #589660
debian/changelog
debian/patches/00list
debian/patches/bts589660-updated-manpage.dpatch [new file with mode: 0755]

index 47daaea5ef1b470a3aafa749ab7e802c197ddcee..ecd9c735a43bc9c2b211b7ff43c43c68278565de 100644 (file)
@@ -3,8 +3,11 @@ ncmpc (0.17-1) unstable; urgency=low
   * New upstream release.
     - Fixed range selection in "shuffle" command; thanks to Michael Marineau
       for reporting this (Closes: #585823).
+  * debian/patches:
+    - Added bts589660-updated-manpage -- updated obsolete parts of the
+      manpage; thanks to Martin Hradil for reporting this (Closes: #589660).
 
- -- Sebastian Harl <tokkee@debian.org>  Fri, 30 Jul 2010 13:55:48 +0200
+ -- Sebastian Harl <tokkee@debian.org>  Fri, 30 Jul 2010 14:34:03 +0200
 
 ncmpc (0.16.1-1) unstable; urgency=low
 
index 8b137891791fe96927ad78e64b0aad7bded08bdc..7d4befec7dbed69b29f44f4f8ec817f01f75ab72 100644 (file)
@@ -1 +1,2 @@
+bts589660-updated-manpage.dpatch
 
diff --git a/debian/patches/bts589660-updated-manpage.dpatch b/debian/patches/bts589660-updated-manpage.dpatch
new file mode 100755 (executable)
index 0000000..0e40b44
--- /dev/null
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## bts589660-updated-manpage.dpatch by Sebastian Harl <tokkee@debian.org>
+##
+## DP: doc: Updated manpage.
+## DP:
+## DP: Added -m/-M options; fixed -S/--no-splash option.
+## DP:
+## DP: As reported by Martin Hradil in Debian bug #589660.
+
+
+@DPATCH@
+
+diff a/doc/ncmpc.1 b/doc/ncmpc.1
+--- a/doc/ncmpc.1
++++ b/doc/ncmpc.1
+@@ -35,6 +35,12 @@ Enable colors.
+ .TP 
+ .B \-C,  \-\-no\-colors
+ Disable colors.
++.TP
++.B \-m,  \-\-mouse
++Enable mouse.
++.TP
++.B \-M,  \-\-no\-mouse
++Disable mouse.
+ .TP 
+ .B \-e,  \-\-exit
+ Exit on connection errors. The default is to reconnect.
+@@ -54,7 +60,7 @@ Read configuration from file.
+ .B \-k, \-\-key\-file=FILE
+ Read key bindings from FILE.
+ .TP
+-.B \-P, \-\-no\-splash=FILE
++.B \-S, \-\-no\-splash
+ Disable the splash screen.
+ .TP 
+ Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.