Fixing arguments docs

This commit is contained in:
Ahmed Mohamed Abd El-MAwgood 2016-06-13 14:09:46 +03:00 committed by Maijin
parent 8f6c4716e0
commit 0027246ec4
2 changed files with 1 additions and 3 deletions

View File

@ -1310,7 +1310,6 @@ static int cmd_anal_fcn(RCore *core, const char *input) {
"afr", " ([name]) ([addr])", "analyze functions recursively",
"af+", " addr size name [type] [diff]", "hand craft a function (requires afb+)",
"af-", " [addr]", "clean all function analysis data (or function at addr)",
"afa", "[?] [idx] [name] ([type])", "add function argument",
"af[aev]", "?", "manipulate args, registers and variables in function",
"afb+", " fa a sz [j] [f] ([t]( [d]))", "add bb to function @ fcnaddr",
"afb", " [addr]", "List basic blocks of given function",
@ -1327,7 +1326,6 @@ static int cmd_anal_fcn(RCore *core, const char *input) {
"afna", "", "suggest automatic name for current offset",
"afs", " [addr] [fcnsign]", "get/set function signature at current address",
"afx", "[cCd-] src dst", "add/remove code/Call/data/string reference",
"afv", "[?] [idx] [type] [name]", "add local var on current function",
NULL };
r_core_cmd_help (core, help_msg);
}

View File

@ -1054,7 +1054,7 @@ static void ds_show_functions(RDisasmState *ds) {
}
char *comment = r_meta_get_var_comment (anal, var->kind, var->delta, f->addr);
if (comment) {
r_cons_printf (" %s;%s", COLOR(ds,color_comment),comment);
r_cons_printf (" %s; %s", COLOR(ds,color_comment),comment);
}
r_cons_printf ("%s\n", COLOR_RESET (ds));
}