Lightweight coding agent that runs in your terminal
Rust
cli: fix zsh completion (#4692)
Tamir Dubersteinb16c985ed234
diff --git a/codex-rs/exec/src/cli.rs b/codex-rs/exec/src/cli.rsindex 323cc879fe..d264eb61b0 100644--- a/codex-rs/exec/src/cli.rs+++ b/codex-rs/exec/src/cli.rs@@ -77,7 +77,7 @@ pub struct Cli {/// Initial instructions for the agent. If not provided as an argument (or/// if `-` is used), instructions are read from stdin.- #[arg(value_name = "PROMPT")]+ #[arg(value_name = "PROMPT", value_hint = clap::ValueHint::Other)]pub prompt: Option<String>,}@@ -99,7 +99,7 @@ pub struct ResumeArgs {pub last: bool,/// Prompt to send after resuming the session. If `-` is used, read from stdin.- #[arg(value_name = "PROMPT")]+ #[arg(value_name = "PROMPT", value_hint = clap::ValueHint::Other)]pub prompt: Option<String>,}diff --git a/codex-rs/tui/src/cli.rs b/codex-rs/tui/src/cli.rsindex f0630a34c5..ee2a0355da 100644--- a/codex-rs/tui/src/cli.rs+++ b/codex-rs/tui/src/cli.rs@@ -7,7 +7,7 @@ use std::path::PathBuf;#[command(version)]pub struct Cli {/// Optional user prompt to start the session.- #[arg(value_name = "PROMPT")]+ #[arg(value_name = "PROMPT", value_hint = clap::ValueHint::Other)]pub prompt: Option<String>,/// Optional image(s) to attach to the initial prompt.