Actions
Feature #5611
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Using --? on the command line lists all features unconditionally
Start date:
2022-07-20
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
11, trunk
Fix Committed on Branch:
trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java
Description
For example if running HE it lists --streamability, which is not available in HE.
Updated by Michael Kay almost 2 years ago
FeatureData.featureList has the required information, it should be possible to change CommandLineOptions.featureKeys()
to something like
public static String featureKeys(String edition) {
final int index = "http://saxon.sf.net/feature/".length();
StringBuilder sb = new StringBuilder();
for (String name : FeatureIndex.getNames()) {
if (FeatureIndex.getData(name).editions.contains(edition)) {
sb.append("\n ").append(name.substring(index));
}
}
return sb.toString();
}
Updated by Michael Kay almost 2 years ago
- Tracker changed from Bug to Feature
- Status changed from New to Closed
- Applies to branch 11, trunk added
- Fix Committed on Branch trunk added
- Platforms .NET, Java added
I decided to fix this on the 12.x branch only.
Please register to edit this issue
Actions