aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-05-13 19:31:09 +0200
committerGuido Günther <agx@sigxcpu.org>2010-05-13 19:31:09 +0200
commit33e56caeebebd7b75b0919e1babbde81ac0af5b3 (patch)
tree0471a8dc9edbbd66d77f317fd1a35a471ba4a950
parent65b9e0de49b8b097e29690b7f4215ae927b9fbc2 (diff)
Document --download
-rw-r--r--docs/common.ent2
-rw-r--r--docs/manpages/git-import-dsc.sgml30
2 files changed, 32 insertions, 0 deletions
diff --git a/docs/common.ent b/docs/common.ent
index ff27a647..19fbd442 100644
--- a/docs/common.ent
+++ b/docs/common.ent
@@ -27,6 +27,8 @@
<!ENTITY gpg "<productname>GPG</productname>">
<!ENTITY dpkg-buildpackage "<productname>Dpkg-buildpackage</productname>">
<!ENTITY pristine-tar "<productname>pristine-tar</productname>">
+ <!ENTITY apt-get "<productname>apt-get</productname>">
+ <!ENTITY dget "<productname>dget</productname>">
<!ENTITY lintian "<productname>lintian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
diff --git a/docs/manpages/git-import-dsc.sgml b/docs/manpages/git-import-dsc.sgml
index a3426b0b..2a8ccd84 100644
--- a/docs/manpages/git-import-dsc.sgml
+++ b/docs/manpages/git-import-dsc.sgml
@@ -33,6 +33,16 @@
<arg><option>--[no-]pristine-tar</option></arg>
<arg choice="plain"><replaceable>debian-source.dsc</replaceable></arg>
</cmdsynopsis>
+ <cmdsynopsis>
+ &git-import-dsc;
+
+ <arg><option>options</option></arg>
+ <arg choice="req"><option>--download</option></arg>
+ <group choice="plain">
+ <arg><replaceable>URL</replaceable></arg>
+ <arg><replaceable>source-package</replaceable></arg>
+ </group>
+ </cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
@@ -120,6 +130,18 @@
<para>generate pristine-tar delta file</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--download</option>
+ </term>
+ <listitem>
+ <para>Download the source package instead of looking for it in the local
+ file system. The argument can either be a
+ <replaceable>source-package</replaceable> name or an
+ <replaceable>URL</replaceable>. The former uses &apt-get; to download
+ the source while the later uses &dget;.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>
<refsect1>
@@ -145,6 +167,14 @@
<refentrytitle>git-dch</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
+ <citerefentry>
+ <refentrytitle>apt-get</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>,
+ <citerefentry>
+ <refentrytitle>dget</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>,
&man.seealso.common;
</para>
</refsect1>