Skip to content

Commit 71340c3

Browse files
committed
docs: update usage examples for run_in_container.sh
Updated examples in the script to reflect the new `--config` flag usage, improving clarity and user understanding.
1 parent 317dc30 commit 71340c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

codex-cli/scripts/run_in_container.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
set -e
33

44
# Usage:
5-
# ./run_in_container.sh [--work_dir directory] "COMMAND"
5+
# ./run_in_container.sh [--work-dir directory] [--config directory] "COMMAND"
66
#
77
# Examples:
8-
# ./run_in_container.sh --work_dir project/code "ls -la"
8+
# ./run_in_container.sh --work-dir project/code --config ~/.codex "codex run"
9+
# ./run_in_container.sh --work-dir project/code "ls -la"
910
# ./run_in_container.sh "echo Hello, world!"
1011

1112
# Default the work directory to WORKSPACE_ROOT_DIR if not provided.

0 commit comments

Comments
 (0)