dpkg-source --version (return code: 0)
Debian dpkg-source version 1.18.4.
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
dpkg-source --help (return code: 0)
Usage: dpkg-source [<option>...] <command>
Commands:
-x, --extract <filename>.dsc [<output-dir>]
extract source package.
-b, --build <dir> build source package.
--print-format <dir> print the format to be used for the source package.
--commit [<dir> [<patch-name>]]
store upstream changes in a new patch.
Build options:
-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.
-U<field> remove a field.
-q quiet mode.
-i[<regex>] filter out files to ignore diffs of
(defaults to: '(?:^|/).*~$|(?:^|/)\.#.*$|(?:^|/)\..*\.sw.$|(?:^|/),,.*(?:$|/.*$)|(?:^|/)(?:DEADJOE|\.arch-inventory|\.(?:bzr|cvs|hg|git)ignore)$|(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg(?:tags|sigs)?|_darcs|\.git(?:attributes|modules|review)?|\.mailmap|\.shelf|_MTN|\.be|\.bzr(?:\.backup|tags)?)(?:$|/.*$)').
-I[<pattern>] filter out files when building tarballs
(defaults to: -I*.a -I*.la -I*.o -I*.so -I.*.sw? -I*/*~ -I,,* -I.[#~]* -I.arch-ids -I.arch-inventory -I.be -I.bzr -I.bzr.backup -I.bzr.tags -I.bzrignore -I.cvsignore -I.deps -I.git -I.gitattributes -I.gitignore -I.gitmodules -I.gitreview -I.hg -I.hgignore -I.hgsigs -I.hgtags -I.mailmap -I.shelf -I.svn -ICVS -IDEADJOE -IRCS -I_MTN -I_darcs -I{arch}).
-Z<compression> select compression to use (defaults to 'xz',
supported are: bzip2 gzip lzma xz).
-z<level> compression level to use (defaults to '6',
supported are: '1'-'9', 'best', 'fast')
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
--ignore-bad-version allow bad source package versions.
General options:
-?, --help show this help message.
--version show the version.
More options are available but they depend on the source package format.
See dpkg-source(1) for more info.