“p2sh” in the help messages should have been “p2sh-segwit”.
The messages before this patch:
help getnewaddress
“address_type” (string, optional) The address type to use. Options are “legacy”, “p2sh”, and “bech32”. Default is set by -addresstype.
help getrawchangeaddress
“address_type” (string, optional) The address type to use. Options are “legacy”, “p2sh”, and “bech32”. Default is set by -changetype.