- fix wrong pattern used in `string replace` error message - replace unreachable error with `unreachable!` in `string` - fix cmd being used in place of subcmd Part of #12603