The following commit has been merged in the master branch:
commit f61004e8e68b0e7b44fdea3d6f90b090021e3233
Author: Timo Juhani Lindfors <timo.lindf...@iki.fi>
Date:   Fri Jun 3 13:22:01 2011 +0300

    debsnap: add EXAMPLES section to man page.
    
    Signed-off-by: James Vega <james...@debian.org>

diff --git a/scripts/debsnap.1 b/scripts/debsnap.1
index 336003e..22f632e 100644
--- a/scripts/debsnap.1
+++ b/scripts/debsnap.1
@@ -90,6 +90,23 @@ but operations otherwise succeeded as expected.  In some 
cases packages may
 fail to be downloaded because they are no longer available on the snapshot
 mirror, so any caller should expect this may occur in normal use.
 
+.SH EXAMPLES
+.TP
+.BR "debsnap -a amd64 xterm 256-1"
+Download the binary package of specific a xterm version for amd64 architecture.
+.TP
+.BR "debsnap -a armel xterm"
+Download binary packages for all versions of xterm for armel architecture.
+.TP
+.BR "debsnap --binary xterm 256-1"
+Download binary packages for a specific a xterm version but for all 
architectures.
+.TP
+.BR "debsnap --binary xterm"
+Download binary packages for all version of xterm version for all 
architectures.
+.TP
+.BR "aptitude search '~i' -F '%p %V' | while read pkg ver; do debsnap -a 
$(dpkg-architecture -qDEB_HOST_ARCH) -a all $pkg $ver; done" 
+Download binary packages of all packages that are installed on the system.
+
 .SH FILES
 .TP
 .I /etc/devscripts.conf

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to pkg-devscripts-unsubscr...@teams.debian.net.

Reply via email to