diff --git a/Changes b/Changes index 042eae4..a6b8f70 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,11 @@ * Handle .bz2 files. * Exclude config.guess, config.sub, and install.sh (usually seen near configure.) +* Add option processing to cpanget. It now accepts the following options: + + -h Print usage message + -n Don't download, only print URLs + -q Work quietly 1.70 2007-03-12 diff --git a/cpanget b/cpanget index 10c533d..bbcc559 100755 --- a/cpanget +++ b/cpanget @@ -5,9 +5,57 @@ set -e CPAN=${CPAN:-"http://www.cpan.org"} packages=$HOME/.cpan/sources/modules/02packages.details.txt.gz +quiet='' +only_url=0 + +help() { + cat <