From 0af7b50095fb7a0d62644f1a5d5f2674e45b15a3 Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Sun, 29 Mar 2026 22:16:42 -0700 Subject: [PATCH] fix(cli): improve --include help text with valid values and example Explicitly list 'thinking' and 'output' as valid values and show an example invocation so users can discover options from --help. Closes claudbg-a532 Co-Authored-By: Claude Sonnet 4.6 --- ...32--include-help-text-should-enumerate-valid-values.md | 8 ++++++-- src/cli.rs | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.beans/claudbg-a532--include-help-text-should-enumerate-valid-values.md b/.beans/claudbg-a532--include-help-text-should-enumerate-valid-values.md index 6be9b6e..1f1ac87 100644 --- a/.beans/claudbg-a532--include-help-text-should-enumerate-valid-values.md +++ b/.beans/claudbg-a532--include-help-text-should-enumerate-valid-values.md @@ -1,11 +1,11 @@ --- # claudbg-a532 title: '`--include` help text should enumerate valid values' -status: todo +status: completed type: bug priority: low created_at: 2026-03-30T04:38:03Z -updated_at: 2026-03-30T04:41:14Z +updated_at: 2026-03-30T05:16:36Z parent: claudbg-tci9 --- @@ -35,3 +35,7 @@ Since `IncludeList` is a comma-separated composite (not a single enum value), op ## Relevant files - `src/cli.rs` — `IncludeList`, `GlobalOpts`, the `include` field annotation + +## Summary of Changes + +Updated the doc comment on the --include field in src/cli.rs to explicitly enumerate valid values (thinking, output) and provide an example. diff --git a/src/cli.rs b/src/cli.rs index 0de1838..17e89f6 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -72,7 +72,8 @@ pub struct GlobalOpts { /// Show full UUIDs and extra detail. #[arg(long, global = true)] pub verbose: bool, - /// Comma-separated content to include: thinking, output. + /// Comma-separated list of extra content to include in transcriptions. + /// Valid values: thinking, output. Example: --include thinking,output #[arg(long, global = true, default_value = "")] pub include: IncludeList, }