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.mdindex 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.tomlindex 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 defaultbranches = false # Include branches without worktrees by defaultremotes = false # Include remote branches by defaultdiff --git a/docs/content/list.md b/docs/content/list.mdindex 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--progressiveShow fast info immediately, update with slow infodiff --git a/src/cli.rs b/src/cli.rsindex 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.rsindex 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.snapindex 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 [2m~/.config/worktrunk/config.toml[0m with the following content:[2m# List Command Defaults[0m[2m# Configure default behavior for `wt list`[0m[2m[list][0m- [2mfull = false # Show CI and line diffs by default[0m+ [2mfull = false # Show CI and `main` diffstat by default[0m[2mbranches = false # Include branches without worktrees by default[0m[2mremotes = false # Include remote branches by default[0m[2m[0mdiff --git a/tests/snapshots/integration__integration_tests__help__help_list_long.snap b/tests/snapshots/integration__integration_tests__help__help_list_long.snapindex 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: [1m[36mwt list[0m [36m[OPTIONS][0mInclude remote branches[1m[36m--full[0m- Show CI and line diffs+ Show CI and [1mmain[0m diffstat[1m[36m--progressive[0mShow fast info immediately, update with slow info[0mdiff --git a/tests/snapshots/integration__integration_tests__help__help_list_short.snap b/tests/snapshots/integration__integration_tests__help__help_list_short.snapindex 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: [1m[36mwt list[0m [36m[OPTIONS][0m[1m[36m--format[0m[36m [0m[36m<FORMAT>[0m Output format (table, json) [default: table][1m[36m--branches[0m Include branches without worktrees[1m[36m--remotes[0m Include remote branches- [1m[36m--full[0m Show CI and line diffs+ [1m[36m--full[0m Show CI and [1mmain[0m diffstat[1m[36m--progressive[0m Show fast info immediately, update with slow info[1m[36m-h[0m, [1m[36m--help[0m Print help (see more with '--help')