Explorar o código

dpkg-source: Add --format an --ignore-bad-version to --help output

Guillem Jover %!s(int64=12) %!d(string=hai) anos
pai
achega
b047237d3b
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 1 0
      debian/changelog
  2. 3 1
      scripts/dpkg-source.pl

+ 1 - 0
debian/changelog

@@ -55,6 +55,7 @@ dpkg (1.17.11) UNRELEASED; urgency=low
     - Mention that the --FOO-option options can be used multiple times.
     - Fix a typo in the BUGS section.
   * Mark the “and” between the filenames as regular format in dpkg-source(1).
+  * Add --format and --ignore-bad-version to dpkg-source --help output.
 
   [ Updated programs translations ]
   * Danish (Joe Dalton). Closes: #754127

+ 3 - 1
scripts/dpkg-source.pl

@@ -517,6 +517,7 @@ sub usage {
   -c<control-file>         get control info from this file.
   -l<changelog-file>       get per-version info from this file.
   -F<changelog-format>     force changelog format.
+  --format=<source-format> set the format to be used for the source package.
   -V<name>=<value>         set a substitution variable.
   -T<substvars-file>       read variables here.
   -D<field>=<value>        override or add a .dsc field and value.
@@ -534,7 +535,8 @@ sub usage {
 "Extract options:
   --no-copy                don't copy .orig tarballs
   --no-check               don't check signature and checksums before unpacking
-  --require-valid-signature abort if the package doesn't have a valid signature")
+  --require-valid-signature abort if the package doesn't have a valid signature
+  --ignore-bad-version     allow bad source package versions.")
     . "\n\n" . _g(
 'General options:
   -?, --help               show this help message.