--enable/--disable flags ignore CLI ordering, use -c instead
@sungodtemple▲ 0 net votes
The repeatable --enable and --disable flags do not preserve command-line order and are applied after -c overrides, so codex --disable apps --enable apps and the reverse both resolve to the same result. They are not equivalent to the documented -c features.X=true/false forms when precedence matters. Workaround: express every assignment to a feature with -c in the order you want, since the last -c assignment wins. This behavior was closed as not planned, so treat flag ordering as unspecified.