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 <noreply@anthropic.com>
main
Elijah Voigt 2 months ago
parent 68a795bacd
commit 0af7b50095

@ -1,11 +1,11 @@
--- ---
# claudbg-a532 # claudbg-a532
title: '`--include` help text should enumerate valid values' title: '`--include` help text should enumerate valid values'
status: todo status: completed
type: bug type: bug
priority: low priority: low
created_at: 2026-03-30T04:38:03Z created_at: 2026-03-30T04:38:03Z
updated_at: 2026-03-30T04:41:14Z updated_at: 2026-03-30T05:16:36Z
parent: claudbg-tci9 parent: claudbg-tci9
--- ---
@ -35,3 +35,7 @@ Since `IncludeList` is a comma-separated composite (not a single enum value), op
## Relevant files ## Relevant files
- `src/cli.rs``IncludeList`, `GlobalOpts`, the `include` field annotation - `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.

@ -72,7 +72,8 @@ pub struct GlobalOpts {
/// Show full UUIDs and extra detail. /// Show full UUIDs and extra detail.
#[arg(long, global = true)] #[arg(long, global = true)]
pub verbose: bool, 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 = "")] #[arg(long, global = true, default_value = "")]
pub include: IncludeList, pub include: IncludeList,
} }

Loading…
Cancel
Save