From b7293628e9fea952cd48c11cc489b429bf1ba531 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 12 Dec 2001 11:19:24 +0000 Subject: lot of small fixes. --- urpmi.addmedia | 2 ++ 1 file changed, 2 insertions(+) (limited to 'urpmi.addmedia') diff --git a/urpmi.addmedia b/urpmi.addmedia index 2e296988..e257c40d 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -36,6 +36,7 @@ where 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; -- cgit v1.2.1