The following commit has been merged in the master branch:
commit b55f89c396d3a32b5a0704678d2aa77a3f28d0bc
Author: Christoph Berg <[email protected]>
Date:   Fri Aug 17 08:29:50 2012 +0200

    origtargz: Add --download-only option.

diff --git a/scripts/origtargz.pl b/scripts/origtargz.pl
index 6e2c4a8..81b5dba 100755
--- a/scripts/origtargz.pl
+++ b/scripts/origtargz.pl
@@ -61,7 +61,7 @@ Despite B<origtargz> being called "targz", it will work with 
any compression
 scheme used for the tarball.
 
 A similar tool to unpack orig tarballs is B<uupdate>(1). B<uupdate> creates a
-new working directory, unpacks the tarball, and applies the Debian diff.gz
+new working directory, unpacks the tarball, and applies the Debian F<.diff.gz>
 changes. In contrast, B<origtargz> uses the current directory, keeping VCS
 metadata.
 
@@ -98,6 +98,10 @@ F<.gitignore>, F<.hg>, F<.hgignore>, and F<.svn>.
 
 =back
 
+=item B<-d>, B<--download-only>
+
+Alias for B<--unpack=no>.
+
 =item B<--tar-only>
 
 When using B<apt-get source>, pass B<--tar-only> to it. The default is to
@@ -140,6 +144,7 @@ my $tar_only = 0;
 my $unpack = 'once'; # default when --unpack is not used
 
 GetOptions(
+       "download-only|d" => sub { $unpack = 'no' },
        "help|h" => sub { pod2usage({-exitval => 0, -verbose => 1}); },
        "tar-only" => \$tar_only,
        "unpack|u:s" => \$unpack,

-- 
Git repository for devscripts

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to