Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Update remove command help text for worktrees argument
Maximilian Roos3896d7e13808
diff --git a/docs/content/remove.md b/docs/content/remove.mdindex 40df49ef1..99cf7ee9c 100644--- a/docs/content/remove.md+++ b/docs/content/remove.md@@ -77,7 +77,7 @@ Usage: <b><span class=c>wt remove</span></b> <span class=c>[OPTIONS]</span> <spa<b><span class=g>Arguments:</span></b><span class=c>[WORKTREES]...</span>- Worktree or branch (@ for current)+ Worktree or branch [default: current]<b><span class=g>Options:</span></b><b><span class=c>--no-delete-branch</span></b>diff --git a/src/cli.rs b/src/cli.rsindex f5d8c3966..7d114c459 100644--- a/src/cli.rs+++ b/src/cli.rs@@ -2309,7 +2309,7 @@ Removal runs in the background by default (returns immediately). Logs are writte"#)]Remove {- /// Worktree or branch (@ for current)+ /// Worktree or branch [default: current]#[arg(add = crate::completion::local_branches_completer())]worktrees: Vec<String>,diff --git a/tests/snapshots/integration__integration_tests__help__help_remove_long.snap b/tests/snapshots/integration__integration_tests__help__help_remove_long.snapindex 3c91742d1..e9162c465 100644--- a/tests/snapshots/integration__integration_tests__help__help_remove_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_remove_long.snap@@ -8,7 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "150"- GIT_CONFIG_GLOBAL: ""+ GIT_EDITOR: ""RUST_LOG: warnSOURCE_DATE_EPOCH: "1735776000"WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml@@ -24,7 +24,7 @@ Usage: [1m[36mwt remove[0m [36m[OPTIONS][0m [36m[WORKTREES]...[1m[32mArguments:[36m[WORKTREES]...- Worktree or branch (@ for current)+ Worktree or branch [default: current][1m[32mOptions:[1m[36m--no-delete-branchdiff --git a/tests/snapshots/integration__integration_tests__help__help_remove_short.snap b/tests/snapshots/integration__integration_tests__help__help_remove_short.snapindex c1ea2c032..92f863805 100644--- a/tests/snapshots/integration__integration_tests__help__help_remove_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_remove_short.snap@@ -9,6 +9,7 @@ info:CLICOLOR_FORCE: "1"COLUMNS: "150"GIT_EDITOR: ""+ RUST_LOG: warnSOURCE_DATE_EPOCH: "1735776000"WORKTRUNK_CONFIG_PATH: /nonexistent/test/config.toml---@@ -22,7 +23,7 @@ wt remove - Remove worktree and branchUsage: [1m[36mwt remove[0m [36m[OPTIONS][0m [36m[WORKTREES]...[1m[32mArguments:- [36m[WORKTREES]...[0m Worktree or branch (@ for current)+ [36m[WORKTREES]...[0m Worktree or branch [default: current][1m[32mOptions:[1m[36m--no-delete-branch[0m Keep branch after removal