mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
Fixed some documentation formatting (#1909)
This commit is contained in:
parent
28613cdf3d
commit
c7e7685314
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user