Fixed some documentation formatting (#1909)

This commit is contained in:
xarkes 2019-12-10 08:32:52 +01:00 committed by GitHub
parent 28613cdf3d
commit c7e7685314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,10 +21,13 @@ Example:
Calling a radare2 command
~~~~~~~~~~~~~~~~~~~~~~~~~
There are two ways to do it: \* ``CutterCore::cmd()`` *(Discouraged)*
Only use it for commands which yells no output \* ``CutterCore::cmdj()``
To be used with json commands like ``cmdj("agj")`` or ``cmdj("aflj")``.
It is way easier to parse a json output.
There are two ways to do it:
- ``CutterCore::cmd()`` *(Discouraged)* Only use it for commands which yells no output
- ``CutterCore::cmdj()`` To be used with json commands like ``cmdj("agj")`` or ``cmdj("aflj")``.
Generally, if one needs to retrieve information from a radare2 command, it
is preferred to use the json API.
Example: