updated documentation for salt.states.cmd concerning exit code handling.
Fix #10140 Fix #12705
Revert "updated documentation for salt.states.cmd concerning exit code handling."

This reverts commit 68055916a6de7467ade0ca5653c1b4c048f402a2. I edited machine generated code oops.
adding the salt.states.cmd doc change to the write source file.
Merge pull request #12748 from jaloren/develop

updated documentation for salt.states.cmd concerning exit code handling.
list_nodes_full should be returning dicts