Add return type for cmd.retcode to docs