Your message dated Mon, 26 Jan 2015 23:00:16 +0000
with message-id
<1422313216.2329695.219229241.20d89...@webmail.messagingengine.com>
and subject line Re: Bug#776296: Make it explicit that a space is not valid in
-SField
has caused the Debian Bug report #776296,
regarding Make it explicit that a space is not valid in -SField
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
776296: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776296
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.17.23
Severity: wishlist
Tags: patch
Please clarify in the docs that a space is not valid in calls to
"-SField". For example, this is valid:
$ dpkg-parsechangelog --show-field Field
.. but this isn't:
$ dpkg-parsechangelog -S Field
Whilst this is perfectly fine and consistent with -l, -F, -L the manpage
and --help output kinda imply that the space is fine. This led to some
confusion as I thought my version of dpkg-dev was too old for this
newish switch, etc. etc.
The attached patch just makes this explicit in the docs.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/man/dpkg-parsechangelog.1 b/man/dpkg-parsechangelog.1
index 0b78ad0..8f8c2e0 100644
--- a/man/dpkg-parsechangelog.1
+++ b/man/dpkg-parsechangelog.1
@@ -54,7 +54,7 @@ which are currently
.BR /usr/local/lib/dpkg/parsechangelog " and "
.BR /usr/lib/dpkg/parsechangelog .
.TP
-.BR \-S ", " \-\-show\-field " \fIfield\fP"
+.BR \-S \fIfield\fP ", " \-\-show\-field " \fIfield\fP"
Specifies the name of the field to show (since dpkg 1.17.0).
The field name is not printed, only its value.
.TP
diff --git a/scripts/dpkg-parsechangelog.pl b/scripts/dpkg-parsechangelog.pl
index 57a91e7..58b7546 100755
--- a/scripts/dpkg-parsechangelog.pl
+++ b/scripts/dpkg-parsechangelog.pl
@@ -49,7 +49,8 @@ sub usage {
-l<changelog-file> get per-version info from this file.
-F<changelog-format> force changelog format.
-L<libdir> look for changelog parsers in <libdir>.
- -S, --show-field <field> show the values for <field>.
+ -S<field>, show the values for <field>.
+ --show-field <field>
-?, --help show this help message.
--version show the version.')
. "\n\n" . _g(
--- End Message ---
--- Begin Message ---
Version: 1.17.21
> > $ dpkg-parsechangelog --show-field Field
> >
> > .. but this isn't:
> >
> > $ dpkg-parsechangelog -S Field
[..]
> This was supposedly fixed in dpkg 1.17.21 with:
Yep; I'm using 1.17.13. Thanks!
(Closing bug)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- End Message ---