Просмотр исходного кода

dpkg-query(1): Document multiple paragraph command output order

These will preserve the order of the packages specified on the argument
list.
Guillem Jover лет назад: 14
Родитель
Сommit
7a3f3f94c8
2 измененных файлов с 9 добавлено и 5 удалено
  1. 2 0
      debian/changelog
  2. 7 5
      man/dpkg-query.1

+ 2 - 0
debian/changelog

@@ -14,6 +14,8 @@ dpkg (1.16.3) UNRELEASED; urgency=low
   * Remove redundant -Wformat-security from default dpkg-buildflags, which
     is already implied by -Werror=format-security. Closes: #664964
     Suggested by Peter Eisentraut <petere@debian.org>.
+  * Document in dpkg-query(1) that commands producing multiple paragraphs
+    will preserve the order of the packages specified on the argument list.
 
   [ Updated dpkg translations ]
   * French (Christian Perrier)

+ 7 - 5
man/dpkg-query.1

@@ -18,7 +18,7 @@
 .\" You should have received a copy of the GNU General Public License
 .\" along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .
-.TH dpkg\-query 1 "2012-02-22" "Debian Project" "dpkg suite"
+.TH dpkg\-query 1 "2012-04-03" "Debian Project" "dpkg suite"
 .SH NAME
 dpkg\-query \- a tool to query the dpkg database
 .
@@ -97,13 +97,15 @@ separated by a tab.
 .BR \-s ", " \-\-status " \fIpackage-name\fP..."
 Report status of specified package. This just displays the entry in
 the installed package status database. When multiple \fIpackage-name\fP
-are listed, the requested status entries are separated by an empty line.
+are listed, the requested status entries are separated by an empty line,
+with the same order as specified on the argument list.
 .TP
 .BR \-L ", " \-\-listfiles " \fIpackage-name\fP..."
 List files installed to your system from \fIpackage-name\fP. When multiple
 \fIpackage-name\fP are listed, the requested lists of files are separated
-by an empty line. However, note that files created by package-specific
-installation-scripts are not listed.
+by an empty line, with the same order as specified on the argument list.
+However, note that files created by package-specific installation-scripts
+are not listed.
 .TP
 .BR \-c ", " \-\-control\-path " \fIpackage-name\fP [\fIcontrol-file\fP]"
 List paths for control files installed to your system from \fIpackage-name\fP.
@@ -123,7 +125,7 @@ nor will it list alternatives.
 Display details about \fIpackage-name\fP, as found in
 \fI/var/lib/dpkg/available\fP. When multiple \fIpackage-name\fP are
 listed, the requested \fIavailable\fP entries are separated by an empty
-line.
+line, with the same order as specified on the argument list.
 
 Users of APT-based frontends
 should use \fBapt\-cache show\fP \fIpackage-name\fP instead