Skip to content

Commit

Permalink
Fix macroses help
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka committed Sep 5, 2016
1 parent 38f8f7b commit c23c597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libr/core/cmd_macro.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ static int cmd_macro(void *data, const char *input) {
"()", "", "break inside macro",
"(*", "", "list all defined macros",
"", "Argument support:", "",
"(foo x y\\n$0 @ $1)", "", "define fun with args",
"(foo x y, $0 @ $1)", "", "define fun with args (x - $0, y - $1)",
".(foo 128 0x804800)", "", "call it with args",
"", "Iterations:", "",
".(foo\\n() $@)", "", "define iterator returning iter index",
".(foo,() $@)", "", "define iterator returning iter index",
"x @@ .(foo)", "", "iterate over them",
NULL};
r_core_cmd_help (core, help_msg);
Expand Down

0 comments on commit c23c597

Please sign in to comment.