Feature #5611
closed
Using --? on the command line lists all features unconditionally
Applies to branch:
11, trunk
Fix Committed on Branch:
trunk
Fixed in Maintenance Release:
Description
For example if running HE it lists --streamability, which is not available in HE.
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();
}
- 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
Also available in: Atom
PDF