Update r2pm manpage and fix #4843
This commit is contained in:
parent
df2ce5cdcf
commit
411cad06e2
|
@ -952,5 +952,6 @@ int main(int argc, char **argv, char **envp) {
|
|||
r_cons_set_raw (0);
|
||||
free (file);
|
||||
r_str_const_free ();
|
||||
r_cons_free ();
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* radare2 - LGPL - Copyright 2008-2015 - pancake */
|
||||
/* radare2 - LGPL - Copyright 2008-2016 - pancake */
|
||||
|
||||
#include <r_cons.h>
|
||||
#include <r_print.h>
|
||||
|
@ -293,8 +293,8 @@ static void palloc(int moar) {
|
|||
if (I.buffer == NULL) {
|
||||
int new_sz;
|
||||
if ((INT_MAX - MOAR) < moar) return;
|
||||
new_sz = moar+MOAR;
|
||||
temp = malloc(new_sz);
|
||||
new_sz = moar + MOAR;
|
||||
temp = malloc (new_sz);
|
||||
if (!temp) return;
|
||||
I.buffer_sz = new_sz;
|
||||
I.buffer = temp;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.Dd Oct 1, 2015
|
||||
.Dd May 15, 2016
|
||||
.Dt R2PM 1
|
||||
.Sh NAME
|
||||
.Nm R2PM
|
||||
|
@ -14,10 +14,14 @@ Allows to install, update, uninstall and discover plugins and tools that can be
|
|||
Show information about repository and installed packages
|
||||
.It Fl i, Cm install Ar pkgname
|
||||
Install a package
|
||||
.It Fl gi, Cm global-install Ar pkgname
|
||||
Install a package in the system directory
|
||||
.It Fl t, Cm test [OK|FX|BR|XX] Cm [build-id]
|
||||
Show last build + testsuite run from travis, greps for errors
|
||||
.It Fl u, Cm uninstall Ar pkgname
|
||||
Uninstall a package
|
||||
.It Fl gu, Cm global-install Ar pkgname
|
||||
Uninstall a package from the system directory
|
||||
.It Fl l, Cm list
|
||||
List installed packages
|
||||
.It Fl s, Cm search Ar keyword
|
||||
|
|
Loading…
Reference in New Issue