jvehent/Postscreen-Stats — Issue #5: Help description is not right for Option -y
Author: Icebird2000
Created: 2012-01-18 08:24:05+00:00
State: open

The Helptext say:
<-y|--year> select the year of the logs (default to current year)

but if I call 'postscreen_stats.py -y' I get
Traceback (most recent call last):
File "./postscreen_stats.py", line 118, in
'a:gGi:f:y:r:h', ['action=','geoloc','geofile=','mapdest=','ip=','year=','report=','help', 'file='])
File "/usr/lib/python2.7/getopt.py", line 90, in getopt
opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
File "/usr/lib/python2.7/getopt.py", line 194, in do_shorts
opt)
getopt.GetoptError: option -y requires argument

OK now I see this function is not implemented at this time.