Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Fix snapshot tests for optional command in help output
Maximilian Roosabea558cc855
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__source_flag_error_passthrough.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__source_flag_error_passthrough.snapindex aa97f8788..e99a9f780 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__source_flag_error_passthrough.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__source_flag_error_passthrough.snap@@ -4,6 +4,6 @@ expression: output.normalized()---[1m[31merror:[0m unrecognized subcommand '[1m[33mfoo[0m'-[1m[32mUsage:[0m [1m[36mwt[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+[1m[32mUsage:[0m [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][0mFor more information, try '[1m[36m--help[0m'.diff --git a/tests/snapshots/integration__integration_tests__help__help_no_args.snap b/tests/snapshots/integration__integration_tests__help__help_no_args.snapindex 00c49e29c..4b3a4743c 100644--- a/tests/snapshots/integration__integration_tests__help__help_no_args.snap+++ b/tests/snapshots/integration__integration_tests__help__help_no_args.snap@@ -17,7 +17,7 @@ exit_code: 0----- stderr -----wt - Git worktree management-Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][0m[1m[32mCommands:[0m[1m[36mconfig[0m Manage configuration and shell integrationdiff --git a/tests/snapshots/integration__integration_tests__help__help_root_long.snap b/tests/snapshots/integration__integration_tests__help__help_root_long.snapindex 5c3c782ef..d84cb0d09 100644--- a/tests/snapshots/integration__integration_tests__help__help_root_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_root_long.snap@@ -18,7 +18,7 @@ exit_code: 0----- stderr -----wt - Git worktree management-Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][0m[1m[32mCommands:[0m[1m[36mconfig[0m Manage configuration and shell integrationdiff --git a/tests/snapshots/integration__integration_tests__help__help_root_short.snap b/tests/snapshots/integration__integration_tests__help__help_root_short.snapindex 52585dbfc..b80627236 100644--- a/tests/snapshots/integration__integration_tests__help__help_root_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_root_short.snap@@ -18,7 +18,7 @@ exit_code: 0----- stderr -----wt - Git worktree management-Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][0m[1m[32mCommands:[0m[1m[36mconfig[0m Manage configuration and shell integration