Преглед изворни кода

dpkg-source: Update description of -W and -E

-W is the default for quite some time already. Adapt the
description of -W and -E.

Also update the description of this options in dpkg-buildpackage.
Frank Lichtenheld пре 19 година
родитељ
комит
853dc78601
6 измењених фајлова са 22 додато и 12 уклоњено
  1. 5 0
      ChangeLog
  2. 5 0
      man/ChangeLog
  3. 4 4
      man/dpkg-buildpackage.1
  4. 4 4
      man/dpkg-source.1
  5. 2 2
      scripts/dpkg-buildpackage.pl
  6. 2 2
      scripts/dpkg-source.pl

+ 5 - 0
ChangeLog

@@ -5,6 +5,11 @@
 
 
 2007-10-09  Frank Lichtenheld  <djpig@debian.org>
 2007-10-09  Frank Lichtenheld  <djpig@debian.org>
 
 
+	* scripts/dpkg-source.pl (usage): -W is the default
+	for quite some time already. Adapt the description of
+	-W and -E.
+	* scripts/dpkg-buildpackage.pl (usage): likewise.
+
 	* scripts/dpkg-buildpackage.pl: Add -z/-Z to
 	* scripts/dpkg-buildpackage.pl: Add -z/-Z to
 	passthrough opts (will be passed to dpkg-source).
 	passthrough opts (will be passed to dpkg-source).
 
 

+ 5 - 0
man/ChangeLog

@@ -1,5 +1,10 @@
 2007-10-09  Frank Lichtenheld  <djpig@debian.org>
 2007-10-09  Frank Lichtenheld  <djpig@debian.org>
 
 
+	* dpkg-source.1: -W is the default for quite
+	some time already. Adapt the description of
+	-W and -E.
+	* dpkg-buildpackage.1: likewise.
+
 	* dpkg-source.1: Change the rest of the
 	* dpkg-source.1: Change the rest of the
 	man page to not contain any hardcoded
 	man page to not contain any hardcoded
 	.gz references.
 	.gz references.

+ 4 - 4
man/dpkg-buildpackage.1

@@ -85,15 +85,15 @@ Check build dependencies and conflicts; abort if unsatisfied.
 .B \-d
 .B \-d
 Do not check build dependencies and conflicts.
 Do not check build dependencies and conflicts.
 .TP
 .TP
-.B \-W
-Turn certain errors into warnings. Only \fBdpkg\-source\fP uses this, but
+.B \-E
+Turn certain warnings into errors. Only \fBdpkg\-source\fP uses this, but
 .BR dpkg\-buildpackage
 .BR dpkg\-buildpackage
 recognizes it, and passes it thru to
 recognizes it, and passes it thru to
 .BR dpkg\-source "."
 .BR dpkg\-source "."
 .TP
 .TP
-.B \-E
+.B \-W
 Negates a previously set
 Negates a previously set
-.BR \-W "."
+.BR \-E "."
 Only \fBdpkg\-source\fP uses this, but
 Only \fBdpkg\-source\fP uses this, but
 .BR dpkg\-buildpackage
 .BR dpkg\-buildpackage
 recognizes it, and passes it thru to
 recognizes it, and passes it thru to

+ 4 - 4
man/dpkg-source.1

@@ -101,12 +101,12 @@ Override or add an output control file field.
 .BI \-U field
 .BI \-U field
 Remove an output control file field.
 Remove an output control file field.
 .TP
 .TP
-.BI \-W
-This option turns certain errors into warnings.
-.TP
 .BI \-E
 .BI \-E
+This option turns certain warnings into errors.
+.TP
+.BI \-W
 This option negates a previously set
 This option negates a previously set
-.BR \-W "."
+.BR \-E "."
 .TP
 .TP
 .BR \-Z \fIcompression\fP
 .BR \-Z \fIcompression\fP
 Specify the compression to use for created files (tarballs and diffs).
 Specify the compression to use for created files (tarballs and diffs).

+ 2 - 2
scripts/dpkg-buildpackage.pl

@@ -66,8 +66,8 @@ Options:
   -nc            do not clean source tree (implies -b).
   -nc            do not clean source tree (implies -b).
   -tc            clean source tree when finished.
   -tc            clean source tree when finished.
   -ap            add pause before starting signature process.
   -ap            add pause before starting signature process.
-  -W             turn certain errors into warnings.       } passed to
-  -E             when -W is turned on, -E turns it off.   } dpkg-source
+  -E             turn certain warnings into errors.       } passed to
+  -W             when -E is turned on, -W turns it off.   } dpkg-source
   -i[<regex>]    ignore diffs of files matching regex.    } only passed
   -i[<regex>]    ignore diffs of files matching regex.    } only passed
   -I[<pattern>]  filter out files when building tarballs. } to dpkg-source
   -I[<pattern>]  filter out files when building tarballs. } to dpkg-source
   --admindir=<directory>
   --admindir=<directory>

+ 2 - 2
scripts/dpkg-source.pl

@@ -165,8 +165,8 @@ Build options:
   -T<varlistfile>          read variables here, not debian/substvars.
   -T<varlistfile>          read variables here, not debian/substvars.
   -D<field>=<value>        override or add a .dsc field and value.
   -D<field>=<value>        override or add a .dsc field and value.
   -U<field>                remove a field.
   -U<field>                remove a field.
-  -W                       turn certain errors into warnings.
-  -E                       when -W is enabled, -E disables it.
+  -E                       turn certain warnings into errors.
+  -W                       when -E is enabled, -W disables it.
   -q                       quiet operation, do not print warnings.
   -q                       quiet operation, do not print warnings.
   -i[<regexp>]             filter out files to ignore diffs of
   -i[<regexp>]             filter out files to ignore diffs of
                              (defaults to: '%s').
                              (defaults to: '%s').