Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

[exec] Fix exec sandbox arg (#2034)

Dylana2b9f4600659
diff --git a/codex-rs/exec/src/cli.rs b/codex-rs/exec/src/cli.rs
index b6c48b9dc6..31dd410991 100644
--- a/codex-rs/exec/src/cli.rs
+++ b/codex-rs/exec/src/cli.rs
@@ -19,7 +19,7 @@ pub struct Cli {
/// Select the sandbox policy to use when executing model-generated shell
/// commands.
- #[arg(long = "sandbox", short = 's')]
+ #[arg(long = "sandbox", short = 's', value_enum)]
pub sandbox_mode: Option<codex_common::SandboxModeCliArg>,
/// Configuration profile from config.toml to specify default options.