On Tue, Sep 14, 2010 at 1:42 AM, Jon LaBadie <[email protected]> wrote: > In the above patch one single to double dash was missed (skipmissed)
I'd say I left that in there just to see if you were looking at the patch, but that's not true. I'll fix it up. > Patched I still get uninitialized value errors. > > --num0: uninitialized value in pattern match (m//) at /usr/sbin/amoverview > line 138. > > --togo0: uninitialized value in pattern match (m//) at /usr/sbin/amoverview > line 153 > > --last: uninitialized value in string eq at /usr/sbin/amoverview line 122 Orion, can you take a look, please? > With your patch the long options still seem to work with a single dash. > > And another surprise, single letter options, or shortened versions of the > options, work with single or double dash. Yes, this is expected (apparently). It's a "feature" of Perl's GetOpt::Long. Let's just pretend it doesn't exist :) Dustin -- Open Source Storage Engineer http://www.zmanda.com
