mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-08 11:59:48 -04:00
Show categories in long help
This commit is contained in:
parent
e86cd07246
commit
8b05c2b338
@ -571,6 +571,17 @@ int mkdwarfs_main(int argc, sys_char** argv) {
|
||||
}
|
||||
});
|
||||
|
||||
std::cout << "\nCategories:\n";
|
||||
|
||||
for (auto const& name : catreg.categorizer_names()) {
|
||||
stream_logger lgr;
|
||||
auto categorizer = catreg.create(lgr, name, vm);
|
||||
std::cout << " [" << name << "]\n";
|
||||
for (auto cat : categorizer->categories()) {
|
||||
std::cout << " " << cat << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
std::cout << "\n";
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user