aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.cli/command_tree.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.cli/command_tree.ccm')
-rw-r--r--nihil.cli/command_tree.ccm2
1 files changed, 1 insertions, 1 deletions
diff --git a/nihil.cli/command_tree.ccm b/nihil.cli/command_tree.ccm
index 7399357..8ed16c7 100644
--- a/nihil.cli/command_tree.ccm
+++ b/nihil.cli/command_tree.ccm
@@ -166,7 +166,7 @@ private:
{
auto tree = command_tree();
- for (auto &&command : get_registered_commands()) {
+ for (auto &&command : get_registry()) {
// Throws std::logic_error on duplicates.
tree.insert(command);
}