mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-30 08:30:53 +00:00
Improve error message in pf.
This commit is contained in:
parent
fcf4d8dcad
commit
e4ec003ac3
@ -1635,7 +1635,7 @@ static void cmd_print_format(RCore *core, const char *_input, const ut8* block,
|
||||
if (space && (!eq || space < eq)) {
|
||||
*space++ = 0;
|
||||
if (strchr (name, '.')) {
|
||||
eprintf ("Struct or fields name can not contain dot symbol (.)\n");
|
||||
eprintf ("Struct or fields name can not contain a dot (%s)\n", name);
|
||||
} else {
|
||||
// pf.foo=xxx
|
||||
sdb_set (core->print->formats, name, space, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user