Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

docs(help): point banner at the actual cli source path (#2665)

Worktrunk Bota77c92e25bff
diff --git a/docs/CLAUDE.md b/docs/CLAUDE.md
index 83962ec08..99be2009a 100644
--- a/docs/CLAUDE.md
+++ b/docs/CLAUDE.md
@@ -101,7 +101,7 @@ weight = 11
group = "Commands"
+++
-<!-- ⚠️ AUTO-GENERATED from `wt list --help-page` — edit cli.rs to update -->
+<!-- ⚠️ AUTO-GENERATED from `wt list --help-page` — edit src/cli/mod.rs to update -->
[generated content here]
diff --git a/docs/content/config.md b/docs/content/config.md
index c725b5f63..4ffe0e236 100644
--- a/docs/content/config.md
+++ b/docs/content/config.md
@@ -7,7 +7,7 @@ weight = 15
group = "Commands"
+++
-<!-- ⚠️ AUTO-GENERATED from `wt config --help-page` — edit cli.rs to update -->
+<!-- ⚠️ AUTO-GENERATED from `wt config --help-page` — edit src/cli/mod.rs to update -->
Manage user & project configs. Includes shell integration, hooks, and saved state.
diff --git a/docs/content/hook.md b/docs/content/hook.md
index 6f9a66f03..475832e23 100644
--- a/docs/content/hook.md
+++ b/docs/content/hook.md
@@ -7,7 +7,7 @@ weight = 17
group = "Commands"
+++
-<!-- ⚠️ AUTO-GENERATED from `wt hook --help-page` — edit cli.rs to update -->
+<!-- ⚠️ AUTO-GENERATED from `wt hook --help-page` — edit src/cli/mod.rs to update -->
Run configured hooks.
diff --git a/docs/content/list.md b/docs/content/list.md
index bbff04386..6c9a3113d 100644
--- a/docs/content/list.md
+++ b/docs/content/list.md
@@ -7,7 +7,7 @@ weight = 11
group = "Commands"
+++
-<!-- ⚠️ AUTO-GENERATED from `wt list --help-page` — edit cli.rs to update -->
+<!-- ⚠️ AUTO-GENERATED from `wt list --help-page` — edit src/cli/mod.rs to update -->
List worktrees and their status.
diff --git a/docs/content/merge.md b/docs/content/merge.md
index 39a98f694..ab69eebf9 100644
--- a/docs/content/merge.md
+++ b/docs/content/merge.md
@@ -7,7 +7,7 @@ weight = 13
group = "Commands"
+++
-<!-- ⚠️ AUTO-GENERATED from `wt merge --help-page` — edit cli.rs to update -->
+<!-- ⚠️ AUTO-GENERATED from `wt merge --help-page` — edit src/cli/mod.rs to update -->
Merge current branch into the target branch. Squash & rebase, fast-forward the target branch, remove the worktree.
diff --git a/docs/content/remove.md b/docs/content/remove.md
index 83e50010b..1390c4b9a 100644
--- a/docs/content/remove.md
+++ b/docs/content/remove.md
@@ -7,7 +7,7 @@ weight = 12
group = "Commands"
+++
-<!-- ⚠️ AUTO-GENERATED from `wt remove --help-page` — edit cli.rs to update -->
+<!-- ⚠️ AUTO-GENERATED from `wt remove --help-page` — edit src/cli/mod.rs to update -->
Remove worktree; delete branch if merged. Defaults to the current worktree.
diff --git a/docs/content/step.md b/docs/content/step.md
index 832614746..70d7afb0f 100644
--- a/docs/content/step.md
+++ b/docs/content/step.md
@@ -7,7 +7,7 @@ weight = 16
group = "Commands"
+++
-<!-- ⚠️ AUTO-GENERATED from `wt step --help-page` — edit cli.rs to update -->
+<!-- ⚠️ AUTO-GENERATED from `wt step --help-page` — edit src/cli/mod.rs to update -->
Run individual operations. The building blocks of wt merge — commit, squash, rebase, push — plus standalone utilities.
diff --git a/docs/content/switch.md b/docs/content/switch.md
index 26acd468b..33693b6b6 100644
--- a/docs/content/switch.md
+++ b/docs/content/switch.md
@@ -7,7 +7,7 @@ weight = 10
group = "Commands"
+++
-<!-- ⚠️ AUTO-GENERATED from `wt switch --help-page` — edit cli.rs to update -->
+<!-- ⚠️ AUTO-GENERATED from `wt switch --help-page` — edit src/cli/mod.rs to update -->
Switch to a worktree; create if needed.
diff --git a/src/help.rs b/src/help.rs
index c0ed69909..b5933f38d 100644
--- a/src/help.rs
+++ b/src/help.rs
@@ -122,7 +122,7 @@ impl PageMode {
fn emit_header(self, subcommand: &str) {
match self {
Self::Web => std::println!(
- "{MARKER_OPEN_PREFIX}`wt {subcommand} --help-page` — edit cli.rs to update -->"
+ "{MARKER_OPEN_PREFIX}`wt {subcommand} --help-page` — edit src/cli/mod.rs to update -->"
),
Self::Plain => std::println!("# wt {subcommand}"),
}