svn: r3903
This commit is contained in:
Alex Roitman 2005-01-11 23:01:54 +00:00
parent 414a2c80d6
commit 52bc1dbacc

View File

@ -467,19 +467,20 @@ class StatisticsChartOptions(ReportOptions.ReportOptions):
} }
self.options_help = { self.options_help = {
'extract' : ("=num", "Data to show", 'extract' : ("=num", "Data to show",
[item[0] for item in _Extract.extractors], [item[0] for item in _Extract.extractors],
False), True),
'sort' : ("=num", "Sorted by", 'sort' : ("=num", "Sorted by",
["%d\t%s" % item for item in self._sorts], ["%d\t%s" % item for item in self._sorts],
False), False),
'reverse' : ("=num", "Sort in reverse order", 'reverse' : ("=0/1", "Whether to sort in reverse order",
["No", "Yes"], True), ["Do not sort in reverse", "Sort in reverse"],
True),
'year_from' : ("=num", "Birth year from which to include people", 'year_from' : ("=num", "Birth year from which to include people",
"earlier than 'year_to' value"), "earlier than 'year_to' value"),
'year_to' : ("=num", "Birth year until which to include people", 'year_to' : ("=num", "Birth year until which to include people",
("smaller than %d") % self.options_dict['year_to']), "smaller than %d" % self.options_dict['year_to']),
'no_years' : ("=num", "Include people without birth years", 'no_years' : ("=0/1", "Whether to include people without birth years",
["No", "Yes"], True), ["Do not include", "Include"], True),
'gender' : ("=num", "Genders included", 'gender' : ("=num", "Genders included",
["%d\t%s" % item for item in self._genders], ["%d\t%s" % item for item in self._genders],
False) False)