Subject: | getopt error |
Date: | Thu, 24 Apr 2008 23:50:14 -0700 |
To: | bug-last.fm-ripper [...] rt.cpan.org |
From: | bharder <bharder [...] methodlogic.net> |
Perl: This is perl, v5.8.8 built for i386-netbsd-thread-multi
OS: NetBSD manchester.methodlogic.net 4.0_STABLE NetBSD 4.0_STABLE
last.fm-ripper version: 1.2
Error:
$ ./last.fm-ripper
Undefined argument in option spec
Patch:
--- ./last.fm-ripper 2006-03-04 09:45:40.000000000 -0800
+++ ./last.fm-ripper.corrected 2008-04-24 23:48:48.000000000 -0700
@@ -38,7 +38,7 @@
Getopt::Long::Configure("pass_through");
GetOptions( 'help|?' => \$help,
'debug|d' => \$debug,
- 'no_covers|n' => $no_covers,
+ 'no_covers|n' => \$no_covers,
'artist|a=s' => \$artist,
'username|u=s' => \$username,
'password|p=s' => \$password,
--
Brad Harder,
Method Digital Logic
http://www.methodlogic.net