Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
sortorder and sorttype can take only specific values, so it will be better to make them choices. A common scenario where this will help is a command like below
python releasedocmaker.py --version trunk --project falcon -t "Apache Falcon" --outputdir result --sortorder desc --sorttype issueid
(Note that the sortorder is "desc" instead of the permitted "dec")
This command will sort the issues in ascending order instead of descending order and is a potential source of confusion given that it is a common typo to give sortorder as "desc".