jif-oai
8a511d5881
cli: rename profile v2 flag to --profile ( #23883 )
...
## Why
Profile v2 is taking over the user-facing profile selection path, so the
CLI no longer needs to expose the transitional `--profile-v2` spelling.
This switches the public args surface to `--profile` before the
remaining legacy profile plumbing is removed separately.
## What
- Rebind `--profile` and `-p` to the v2 profile name argument that
selects `$CODEX_HOME/<name>.config.toml`.
- Stop parsing the legacy shared CLI profile argument while keeping its
implementation path in place for follow-up cleanup.
- Update CLI validation, profile-name parse errors, and the
legacy-profile collision message/tests to refer to `--profile`.
## Testing
- `cargo test -p codex-cli -p codex-config -p codex-protocol -p
codex-utils-cli`
2026-05-21 16:45:27 +02:00
..
2026-05-13 16:43:25 +00:00
2026-05-18 18:48:35 -07:00
2026-03-27 19:00:44 -07:00
2026-05-20 15:57:50 -07:00
2026-05-14 12:40:01 -07:00
2026-05-19 11:03:47 -07:00
2026-05-19 19:46:17 +02:00
2026-05-21 16:45:27 +02:00
2026-05-21 11:13:23 +02:00
2026-05-18 19:56:00 -07:00
2026-05-20 04:02:14 +00:00
2026-05-14 16:15:56 -07:00
2026-05-19 15:04:35 +02:00
2026-05-18 18:48:35 -07:00
2026-05-19 15:04:35 +02:00
2026-05-18 21:03:51 -07:00
2026-05-19 10:19:46 +00:00
2026-05-14 18:04:26 -07:00
2026-05-18 19:56:00 -07:00
2026-04-28 17:05:53 -07:00
2026-05-18 18:48:35 -07:00
2026-05-14 12:40:01 -07:00
2026-05-14 11:52:43 -07:00
2026-05-20 20:46:19 +00:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-14 12:59:56 -07:00
2026-05-18 19:56:00 -07:00
2026-05-15 15:26:21 +02:00
2026-05-18 21:03:51 -07:00
2026-05-20 15:57:50 -07:00
2026-05-18 21:03:51 -07:00
2026-05-20 15:57:50 -07:00
2026-05-18 19:56:00 -07:00
2026-05-15 01:26:50 +00:00
2026-05-18 18:48:35 -07:00
2026-05-18 21:03:51 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 21:03:51 -07:00
2026-05-15 15:04:04 -07:00
2026-05-20 15:57:50 -07:00
2026-05-18 18:48:35 -07:00
2026-05-20 15:07:35 -07:00
2026-05-06 22:48:29 -07:00
2026-05-18 18:48:35 -07:00
2026-05-18 18:48:35 -07:00
2026-05-18 19:56:00 -07:00
2026-05-20 15:57:50 -07:00
2026-05-18 18:48:35 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-19 14:45:37 -07:00
2026-05-18 19:56:00 -07:00
2026-05-19 19:46:17 +02:00
2026-05-18 21:54:36 +00:00
2026-05-18 21:03:51 -07:00
2026-05-18 21:03:51 -07:00
2026-05-20 17:02:10 -07:00
2026-05-13 00:28:15 +00:00
2026-05-18 19:56:00 -07:00
2026-05-19 19:46:17 +02:00
2026-05-14 16:15:56 -07:00
2026-05-18 09:57:54 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-20 15:57:50 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 18:48:35 -07:00
2026-05-18 18:48:35 -07:00
2026-05-21 15:54:23 +02:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-19 11:03:47 -07:00
2026-05-18 19:56:00 -07:00
2026-03-11 12:33:09 -07:00
2026-05-19 20:48:37 -07:00
2026-05-06 22:48:29 -07:00
2026-05-18 18:48:35 -07:00
2026-05-18 19:56:00 -07:00
2026-05-20 15:57:50 -07:00
2026-04-28 23:01:40 +00:00
2026-05-18 19:56:00 -07:00
2026-05-18 18:48:35 -07:00
2026-05-20 14:52:38 -07:00