mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-11 05:23:29 -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";
|
std::cout << "\n";
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user