mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 10:33:30 +00:00
~? shows help
This commit is contained in:
parent
8baa2643b3
commit
046a31cad4
@ -1861,6 +1861,9 @@ next2:
|
||||
memmove (escape, ptr, strlen (escape));
|
||||
ptr = NULL;
|
||||
}
|
||||
} else if (ptr == cmd && *ptr && ptr[1] == '?') {
|
||||
r_cons_grep_help ();
|
||||
return true;
|
||||
}
|
||||
if (ptr && *cmd != '.') {
|
||||
*ptr = '\0';
|
||||
|
@ -519,6 +519,7 @@ R_API char *r_cons_hud_string(const char *s);
|
||||
R_API char *r_cons_hud_file(const char *f);
|
||||
|
||||
R_API const char *r_cons_get_buffer(void);
|
||||
R_API void r_cons_grep_help(void);
|
||||
R_API void r_cons_grep(const char *str);
|
||||
R_API int r_cons_grep_line(char *buf, int len); // must be static
|
||||
R_API int r_cons_grepbuf(char *buf, int len);
|
||||
|
Loading…
Reference in New Issue
Block a user