aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.cli/command_tree.ccm
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-29 00:52:39 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-29 00:52:39 +0100
commite5180acf5f2dfac788e8c12886095ed1ac66fae5 (patch)
treecf2c8cc0eeb89bf5d9700a0c00ccdfe98e301615 /nihil.cli/command_tree.ccm
parentd24315268c11d435bb9accbce87b7f46dda6ed3e (diff)
downloadnihil-e5180acf5f2dfac788e8c12886095ed1ac66fae5.tar.gz
nihil-e5180acf5f2dfac788e8c12886095ed1ac66fae5.tar.bz2
cli: improve path handling
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 f52b768..7297af7 100644
--- a/nihil.cli/command_tree.ccm
+++ b/nihil.cli/command_tree.ccm
@@ -62,7 +62,7 @@ struct command_tree_node final {
* Get the path of this command_node.
*/
[[nodiscard]] auto path(this command_tree_node const &self)
- -> std::string;
+ -> std::string_view;
/*
* Print this node's children in a form useful to humans.