aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-06-27 15:19:37 +0200
committerGuido Günther <agx@sigxcpu.org>2016-06-27 15:24:08 +0200
commitf1c64e2c7721497004e12807fead146eeb84bf26 (patch)
tree6e0edd0b86f5c0dff776ff3238580bacea510e7f
parentdcb145f61c5e2b55b077389c92e7989d09ffb75e (diff)
manpages: add examples for gbp {clone,import-dsc}
-rw-r--r--docs/manpages/gbp-clone.sgml10
-rw-r--r--docs/manpages/gbp-import-dsc.sgml16
2 files changed, 26 insertions, 0 deletions
diff --git a/docs/manpages/gbp-clone.sgml b/docs/manpages/gbp-clone.sgml
index 8c3cbdb..4ef7f24 100644
--- a/docs/manpages/gbp-clone.sgml
+++ b/docs/manpages/gbp-clone.sgml
@@ -93,6 +93,16 @@
</varlistentry>
</variablelist>
</refsect1>
+ <refsect1>
+ <title>EXAMPLES</title>
+ <para>
+ Clone a repository and setup a tracking branch for pristine-tar
+ as well:
+ </para>
+ <screen>
+ &gbp-clone; --pristine-tar git://honk.sigxcpu.org/git/git-buildpackage.git
+ </screen>
+ </refsect1>
<refsect1>
&man.gbp.config-files;
</refsect1>
diff --git a/docs/manpages/gbp-import-dsc.sgml b/docs/manpages/gbp-import-dsc.sgml
index a965913..5476b0e 100644
--- a/docs/manpages/gbp-import-dsc.sgml
+++ b/docs/manpages/gbp-import-dsc.sgml
@@ -225,6 +225,22 @@
&man.gbp.config-files;
</refsect1>
<refsect1>
+ <title>EXAMPLES</title>
+ <para>
+ Download and import a source package from a URL:
+ </para>
+ <screen>
+ &gbp-import-dsc; --download http://http.debian.net/debian/pool/main/h/hello/hello_2.10-1.dsc
+ </screen>
+ <para>
+ Download and import a source package via <command>apt-get
+ source</command> from unstable:
+ </para>
+ <screen>
+ &gbp-import-dsc; --download hello/sid
+ </screen>
+ </refsect1>
+ <refsect1>
<title>SEE ALSO</title>
<para>