Skip to content

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

Clarify `--full` flag description for list command

Maximilian Roos72a50803cf08
diff --git a/CLAUDE.md b/CLAUDE.md
index bf0707492..8d6dae3d0 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -78,7 +78,7 @@ Keep the first line of flag and argument descriptions brief—aim for 3-6 words.
**Good examples:**
- `/// Skip approval prompts`
-- `/// Show CI and line diffs`
+- `/// Show CI and \`main\` diffstat`
- `/// Target branch (defaults to default branch)`
**Bad examples (too verbose):**
diff --git a/dev/config.example.toml b/dev/config.example.toml
index 5d0c55be2..836dfa9a2 100644
--- a/dev/config.example.toml
+++ b/dev/config.example.toml
@@ -46,7 +46,7 @@ worktree-path = "../{{ main_worktree }}.{{ branch }}"
# List Command Defaults
# Configure default behavior for `wt list`
[list]
-full = false # Show CI and line diffs by default
+full = false # Show CI and `main` diffstat by default
branches = false # Include branches without worktrees by default
remotes = false # Include remote branches by default
diff --git a/docs/content/list.md b/docs/content/list.md
index 88392a17d..83b0bce1a 100644
--- a/docs/content/list.md
+++ b/docs/content/list.md
@@ -190,7 +190,7 @@ Options:
Include remote branches
--full
- Show CI and line diffs
+ Show CI and main diffstat
--progressive
Show fast info immediately, update with slow info
diff --git a/src/cli.rs b/src/cli.rs
index f0dbc5318..528ce44d1 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -1492,7 +1492,7 @@ wt list --format=json | jq '.[] | select(.status.main_divergence == "Ahead")'
#[arg(long)]
remotes: bool,
- /// Show CI and line diffs
+ /// Show CI and `main` diffstat
#[arg(long)]
full: bool,
diff --git a/src/config/user.rs b/src/config/user.rs
index 4fe3966df..ba9f27fcf 100644
--- a/src/config/user.rs
+++ b/src/config/user.rs
@@ -224,7 +224,7 @@ pub struct UserProjectConfig {
/// Configuration for the `wt list` command
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
pub struct ListConfig {
- /// Show CI and line diffs by default
+ /// Show CI and `main` diffstat by default
#[serde(skip_serializing_if = "Option::is_none")]
pub full: Option<bool>,
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_create.snap b/tests/snapshots/integration__integration_tests__help__help_config_create.snap
index d38da8f7d..de292f342 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_create.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_create.snap
@@ -90,7 +90,7 @@ Creates ~/.config/worktrunk/config.toml with the following content:
# List Command Defaults
# Configure default behavior for `wt list`
[list]
- full = false # Show CI and line diffs by default
+ full = false # Show CI and `main` diffstat by default
branches = false # Include branches without worktrees by default
remotes = false # Include remote branches by default

diff --git a/tests/snapshots/integration__integration_tests__help__help_list_long.snap b/tests/snapshots/integration__integration_tests__help__help_list_long.snap
index b286c5a0c..db81fc25a 100644
--- a/tests/snapshots/integration__integration_tests__help__help_list_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_list_long.snap
@@ -37,7 +37,7 @@ Usage: wt list [OPTIONS]
Include remote branches
--full
- Show CI and line diffs
+ Show CI and main diffstat
--progressive
Show fast info immediately, update with slow info
diff --git a/tests/snapshots/integration__integration_tests__help__help_list_short.snap b/tests/snapshots/integration__integration_tests__help__help_list_short.snap
index 7b639a9bd..aa057be3e 100644
--- a/tests/snapshots/integration__integration_tests__help__help_list_short.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_list_short.snap
@@ -28,7 +28,7 @@ Usage: wt list [OPTIONS]
--format <FORMAT> Output format (table, json) [default: table]
--branches Include branches without worktrees
--remotes Include remote branches
- --full Show CI and line diffs
+ --full Show CI and main diffstat
--progressive Show fast info immediately, update with slow info
-h, --help Print help (see more with '--help')