From e0bfcccb8737d506a1e7835ad051f16ed18c4f13 Mon Sep 17 00:00:00 2001 From: Itay Cohen Date: Sat, 25 Jul 2020 20:44:03 +0300 Subject: [PATCH] Change "Run Script" to "Run radare2 script" (#2330) * Improve "Run script" title to make it more clear * Update docs to reflect the change --- docs/source/user-docs/menus/menu-bar/file-menu.rst | 14 +++++++++++--- src/core/MainWindow.ui | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) 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