Actions
Feature #5611
closedUsing --? 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 over 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 over 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