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

man: Move EXIT STATUS section before ENVIRONMENT

Guillem Jover лет назад: 13
Родитель
Сommit
69729c759d
2 измененных файлов с 10 добавлено и 9 удалено
  1. 1 0
      debian/changelog
  2. 9 9
      man/update-alternatives.8

+ 1 - 0
debian/changelog

@@ -15,6 +15,7 @@ dpkg (1.17.0) UNRELEASED; urgency=low
     - Remove BUGS sections containing obvious or misplaced information.
     - Move BUGS sections before EXAMPLES and SEE ALSO sections.
     - Place ENVIRONMENT and FILES sections contiguously.
+    - Move EXIT STATUS section before ENVIRONMENT.
   * Use colon instead of dot for user:group in dpkg debug output.
   * Remove support for obsolete DM-Upload-Allowed from Dpkg::Vendor::Debian.
   * Fix update-alternatives to use the current alternative link as the first

+ 9 - 9
man/update-alternatives.8

@@ -368,6 +368,15 @@ is doing.
 .B \-\-quiet
 Don't generate any comments unless errors occur.
 .
+.SH EXIT STATUS
+.TP
+.B 0
+The requested action was successfully performed.
+.TP
+.B 2
+Problems were encountered whilst parsing the command line
+or performing the action.
+.
 .SH ENVIRONMENT
 .TP
 .B DPKG_ADMINDIR
@@ -388,15 +397,6 @@ Can be overridden by the
 .B \-\-admindir
 option.
 .
-.SH EXIT STATUS
-.TP
-.B 0
-The requested action was successfully performed.
-.TP
-.B 2
-Problems were encountered whilst parsing the command line
-or performing the action.
-.
 .SH QUERY FORMAT
 The \fBupdate\-alternatives \-\-query\fP format is using an
 RFC822-like flat format. It's made of \fIn\fP + 1 blocks where \fIn\fP is