Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=3007e564e37af88f345e8619722624f8047e389c
commit 3007e564e37af88f345e8619722624f8047e389c
Author: VMiklos <[EMAIL PROTECTED]>
Date: Sun Sep 30 22:48:23 2007 +0200
added fwmirror manpage
diff --git a/fwmirror b/fwmirror
index f58b67e..f188cb2 100755
--- a/fwmirror
+++ b/fwmirror
@@ -4,28 +4,7 @@ myver="0.7.9"
usage()
{
- echo "Usage: $0 [options] -- [rsync options]"
- echo
- echo "Options:"
- echo " -a <archs> Coma separated list of architectures you want
- to mirror. If you want to mirror the sources, too then use the special
- 'source' arch."
- echo " -d <directory> Destination directory."
- echo " --help This help."
- echo " -s <server> The mirror server you want to use"
- echo " -v <versions> Coma separated list of versions you want to
- mirror. You can use explicit versions and aliases
- (current,testing,stable), too."
- echo " --version fwmirror version."
- echo
- echo "About rsync options:"
- echo "If you run fwmirror from cron, then probably you'll want to add"
- echo "'-q', if you're running it interactively, then most users need"
- echo "'-vP'."
- echo
- echo "A real example:"
- echo "fwmirror -s rsync://rsync.frugalware.org/pub/frugalware/ \\"
- echo "-v current -a i686,source -d /home/ftp/pub/frugalware/ -- -vP"
+ man fwmirror
}
die()
diff --git a/fwmirror.txt b/fwmirror.txt
new file mode 100644
index 0000000..5a9d0d0
--- /dev/null
+++ b/fwmirror.txt
@@ -0,0 +1,42 @@
+= fwmirror(1)
+
+== NAME
+
+fwmirror - mirrors Frugalware archives
+
+== SYNOPSIS
+
+fwmirror [options] -- [rsync options]
+
+== OPTIONS
+
+-a <archs>::
+ Coma separated list of architectures you want to mirror. If you want to
+ mirror the sources, too then use the special 'source' arch.
+
+-d <directory>::
+ Destination directory.
+
+--help::
+ This help.
+
+-s <server>::
+ The mirror server you want to use.
+
+-v <versions>::
+ Coma separated list of versions you want to mirror. You can use
+ explicit versions and aliases (current,testing,stable), too.
+
+--version::
+ 'fwmirror' version.
+
+== DESCRIPTION
+
+About rsync options: If you run 'fwmirror' from 'crond', then probably you'll
want to add '-q', if you're running it interactively, then most users need
'-vP'.
+
+Example:
+
+----
+$ fwmirror -s rsync://rsync.frugalware.org/pub/frugalware/ \
+ -v current -a i686,source -d /home/ftp/pub/frugalware/ -- -vP
+----
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git