From f4185a2ec92b079d9ab4e63593ee5c715edc90f9 Mon Sep 17 00:00:00 2001 From: masapastosa Date: Thu, 29 Jun 2017 17:16:24 +0200 Subject: [PATCH] Fix #7830 - Help for |? like ?|? --- libr/core/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/core/cmd.c b/libr/core/cmd.c index 16660ec97e..b6e2e812c7 100644 --- a/libr/core/cmd.c +++ b/libr/core/cmd.c @@ -2730,7 +2730,7 @@ R_API int r_core_cmd(RCore *core, const char *cstr, int log) { } } - if (!cstr || *cstr == '|') { + if (!cstr || (*cstr == '|' && cstr[1] != '?')) { // raw comment syntax goto beach; // false; }