aboutsummaryrefslogtreecommitdiff
path: root/docs/pages/advanced
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pages/advanced')
-rw-r--r--docs/pages/advanced/1-completion.md2
-rw-r--r--docs/pages/advanced/2-structural-renderer.md1
2 files changed, 0 insertions, 3 deletions
diff --git a/docs/pages/advanced/1-completion.md b/docs/pages/advanced/1-completion.md
index 52350db..f70d415 100644
--- a/docs/pages/advanced/1-completion.md
+++ b/docs/pages/advanced/1-completion.md
@@ -24,8 +24,6 @@ features = [
When the user presses `TAB`, the completion script calls the program's hidden subcommand `__comp`, which dynamically queries the best suggestions based on the provided `ShellContext`.
-This hidden subcommand is auto-generated by `gen_program!()` when the `comp` feature is enabled. Its dispatcher is `CMDCompletion` — you need to add it to your program via `with_dispatcher`.
-
Completion flow:
1. Re-match the user's current input to a `Dispatcher`
diff --git a/docs/pages/advanced/2-structural-renderer.md b/docs/pages/advanced/2-structural-renderer.md
index b54af22..489baba 100644
--- a/docs/pages/advanced/2-structural-renderer.md
+++ b/docs/pages/advanced/2-structural-renderer.md
@@ -95,7 +95,6 @@ fn render_info(info: Info) {
@@@fn main() {
@@@ let mut program = ThisProgram::new();
@@@ program.with_setup(StructuralRendererSetup);
-@@@ program.with_dispatcher(CMDRender);
@@@ program.exec();
@@@}
@@@gen_program!();