On Sunday, March 25, 2018 at 3:41:01 AM UTC-7, gjr80 wrote: > > Re wee_extension, clearly a typo in the 'Action' section, actual live > --install screenshots further down show this. As a rule double hyphen > actions require the equals sign, single hyphen actions do not and just use > a space. I will fix the typo. >
Disagree. I use it all the time 'without' the equals sign, which is actually optional in effect. https://docs.python.org/2/library/optparse.html gives the gory details, intermingling both variants. The top section has the quick explanation of what works, so that's a quick read. Bottom line is optparse is very flexible, so lack of the '=' sign probably isn't the problem for the original poster. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
