summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-12-12 11:19:24 +0000
committerFrancois Pons <fpons@mandriva.com>2001-12-12 11:19:24 +0000
commitb7293628e9fea952cd48c11cc489b429bf1ba531 (patch)
treefcff0c95ee34f3ac21b6b5f0552d0c161e86ad0c /urpmi.addmedia
parent36e4848b84d7db70404433cc1483133b755f5334 (diff)
downloadurpmi-b7293628e9fea952cd48c11cc489b429bf1ba531.tar
urpmi-b7293628e9fea952cd48c11cc489b429bf1ba531.tar.gz
urpmi-b7293628e9fea952cd48c11cc489b429bf1ba531.tar.bz2
urpmi-b7293628e9fea952cd48c11cc489b429bf1ba531.tar.xz
urpmi-b7293628e9fea952cd48c11cc489b429bf1ba531.zip
lot of small fixes.
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index 2e296988..e257c40d 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -36,6 +36,7 @@ where <url> is one of
and [options] are from
") . _(" -c - clean headers cache directory.
+") . _(" -h - try to find and use synthesis or hdlist file.
") . _(" -f - force generation of hdlist files.
") . _(" --wget - use wget to retrieve distant files.
") . _(" --curl - use curl to retrieve distant files.
@@ -46,6 +47,7 @@ and [options] are from
$options{sync} = undef;
while ($_ = shift @_) {
/^--?c/ and $options{noclean} = 0, next;
+ /^--?h/ and $options{probe_with_hdlist} = 1, next;
/^--?f/ and ++$options{force}, next;
/^--wget/ and $options{sync} = \&urpm::sync_wget, next;
/^--curl/ and $options{sync} = \&urpm::sync_curl, next;