diff --git a/docs/source/user-docs/menus/menu-bar/file-menu.rst b/docs/source/user-docs/menus/menu-bar/file-menu.rst index 1632036d..988ab353 100644 --- a/docs/source/user-docs/menus/menu-bar/file-menu.rst +++ b/docs/source/user-docs/menus/menu-bar/file-menu.rst @@ -78,9 +78,17 @@ Export to code Run a radare2 script ---------------------------------------- -**Description:** Cutter allows you to execute radare2 scripts to automate task or transfer information. +**Description:** Cutter allows you to execute radare2 scripts to automate task or transfer information. Radare2 scripts are files that contain list of radare2 commands. The scripts can be created manually by you, or automatically generated by radare2 commands (which typically end with a star character. e.g. ``afl*``). -**Steps:** File -> Run Script +Such a script can look like this: + +.. code-block:: + + ?e hello world + ?v 10+5 + pdf @ main + +**Steps:** File -> Run radare2 script Quit Cutter ---------------------------------------- @@ -88,4 +96,4 @@ Quit Cutter **Steps:** File -> Quit -**Shortcut:** :kbd:`Ctrl` + :kbd:`Q` \ No newline at end of file +**Shortcut:** :kbd:`Ctrl` + :kbd:`Q` diff --git a/src/core/MainWindow.ui b/src/core/MainWindow.ui index 9500ac12..b0008510 100644 --- a/src/core/MainWindow.ui +++ b/src/core/MainWindow.ui @@ -651,7 +651,7 @@ - Run Script + Run radare2 script