mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-14 16:59:08 +00:00
'r' command now returns file size instead of help
This commit is contained in:
parent
fee19ad875
commit
6d30dbc4ca
@ -589,9 +589,12 @@ static int cmd_resize(void *data, const char *input) {
|
||||
newsize = oldsize + delta;
|
||||
break;
|
||||
case '\0':
|
||||
r_cons_printf ("%"PFMT64d"\n", oldsize);
|
||||
break;
|
||||
case '?':
|
||||
r_cons_printf (
|
||||
"|Usage: r[+-][ size]\n"
|
||||
"| r display file size\n"
|
||||
"| r size expand or truncate file to given size\n"
|
||||
"| r-num remove num bytes, move following data down\n"
|
||||
"| r+num insert num bytes, move following data up\n"
|
||||
|
Loading…
Reference in New Issue
Block a user