Remove "available features" list from "feature list"

fixes #7420
This commit is contained in:
Gunnar Beutner 2014-10-20 14:22:02 +02:00
parent 5ddf5b3293
commit c3ce123f3d
1 changed files with 0 additions and 5 deletions

View File

@ -53,19 +53,14 @@ int FeatureListCommand::Run(const boost::program_options::variables_map& vm, con
<< "Ignoring parameters: " << boost::algorithm::join(ap, " ");
}
std::vector<String> available_features;
std::vector<String> disabled_features;
std::vector<String> enabled_features;
if (!FeatureUtility::GetFeatures(FeaturesAvailable, available_features))
return 1;
if (!FeatureUtility::GetFeatures(FeaturesDisabled, disabled_features))
return 1;
if (!FeatureUtility::GetFeatures(FeaturesEnabled, enabled_features))
return 1;
std::cout << ConsoleColorTag(Console_ForegroundBlue | Console_Bold) << "Available features: " << ConsoleColorTag(Console_Normal)
<< boost::algorithm::join(available_features, " ") << "\n";
std::cout << ConsoleColorTag(Console_ForegroundRed | Console_Bold) << "Disabled features: " << ConsoleColorTag(Console_Normal)
<< boost::algorithm::join(disabled_features, " ") << "\n";
std::cout << ConsoleColorTag(Console_ForegroundGreen | Console_Bold) << "Enabled features: " << ConsoleColorTag(Console_Normal)