The createwallet example in doc/JSON-RPC-interface.md passes false as the sixth positional argument descriptors. Since v30.0, legacy wallets can no longer be created, so the example fails as written:
$ bitcoin-cli -regtest createwallet mywallet false false "" false false true
error code: -4
error message:
descriptors argument must be set to "true"; it is no longer possible to create a legacy wallet.
This changes the argument to true in both the comment and the command. The example still shows positional arguments, including load_on_startup as the seventh, and with the change it creates the wallet without error. Tested with v31.1 on regtest.
No code or tests are affected, this is a documentation only change.