svn: r3903
This commit is contained in:
Alex Roitman 2005-01-11 23:01:54 +00:00
parent edfb524597
commit 99eb6c0e88

View File

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