[dpkg] 49/192: man: Use command-string instead of command for dpkg-architecture -c argument

Ximin Luo infinity0 at debian.org
Tue Oct 17 11:03:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch pu/reproducible_builds
in repository dpkg.

commit efad997fbe3d4b4db0ba95fe42149cf6b56d48fc
Author: Guillem Jover <guillem at debian.org>
Date:   Sat Apr 22 18:49:14 2017 +0200

    man: Use command-string instead of command for dpkg-architecture -c argument
    
    Using the same name as the name in the SYNOPSIS, or the COMMANDS section
    seems confusing as it can be understood as the program accepting -c
    argument values without the -c command option.
    
    Reported-by: Johannes Schauer <josch at debian.org>
---
 debian/changelog          | 2 ++
 man/dpkg-architecture.man | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5b219a7..db12efd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ dpkg (1.19.0) UNRELEASED; urgency=medium
       Closes: #858579
     - Mark source:Version substvar in bold in deb-substvars(5).
     - Clarify behavior for dpkg-maintscript-helper. Closes: #857852
+    - Use <command-string> instead of <command> for -c argument value in
+      dpkg-architecture(1). Reported by Johannes Schauer <josch at debian.org>.
   * Build system:
     - Require Perl 5.20.2, the version in Debian oldstable (jessie).
     - Use new gcc-7 -Wrestrict and -Wshift-negative-value warnings if
diff --git a/man/dpkg-architecture.man b/man/dpkg-architecture.man
index 36c3fad..6c67466 100644
--- a/man/dpkg-architecture.man
+++ b/man/dpkg-architecture.man
@@ -78,9 +78,9 @@ using eval.
 .BR \-u ", " \-\-print\-unset
 Print a similar command to \fB\-\-print\-unset\fP but to unset all variables.
 .TP
-.BR \-c ", " \-\-command " \fIcommand\fP"
-Execute a \fIcommand\fP in an environment which has all variables set to
-the determined value.
+.BR \-c ", " \-\-command " \fIcommand-string\fP"
+Execute a \fIcommand-string\fP in an environment which has all variables
+set to the determined value.
 .TP
 .BR \-L ", " \-\-list\-known
 Print a list of valid architecture names.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list