mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
Add help for r2pm -uu
This commit is contained in:
parent
e8a7adba42
commit
150a4e385a
@ -512,7 +512,7 @@ pkgFilePath() {
|
||||
|
||||
r2pm_doc() {
|
||||
if [ -z "$2" ]; then
|
||||
echo "Usage: r2pm -d [package] # show docs on [package]"
|
||||
echo "Usage: r2pm -d [package] # show docs on [package] (see r2pm -l)"
|
||||
exit 1
|
||||
else
|
||||
FILE="$(pkgFilePath "$1")"
|
||||
@ -588,9 +588,13 @@ case "$1" in
|
||||
fi
|
||||
;;
|
||||
-uu)
|
||||
FILE="${R2PM_USRDIR}/pkg/$2"
|
||||
$0 -u $2 2> /dev/null
|
||||
rm -f "${FILE}"
|
||||
if [ -z "$2" ]; then
|
||||
echo "Usage: r2pm -uu [pkgname] # force uninstall given package"
|
||||
else
|
||||
FILE="${R2PM_USRDIR}/pkg/$2"
|
||||
$0 -u $2 2> /dev/null
|
||||
rm -f "${FILE}"
|
||||
fi
|
||||
;;
|
||||
-u|uninstall)
|
||||
r2pm_uninstall "$@"
|
||||
|
@ -1,4 +1,4 @@
|
||||
.Dd Jun 30, 2021
|
||||
.Dd Dec 5, 2021
|
||||
.Dt R2PM 1
|
||||
.Sh NAME
|
||||
.Nm R2PM
|
||||
@ -20,6 +20,8 @@ Install a package
|
||||
Install a package in the system directory
|
||||
.It Fl u, Cm uninstall Ar pkgname
|
||||
Uninstall a package
|
||||
.It Fl uu Ar pkgname
|
||||
Force uninstall a package
|
||||
.It Fl U, Cm Upgrade all the outdated packages
|
||||
Runs the suggested lines when loading outdated plugins by r2
|
||||
.It Fl gu, Cm global-install Ar pkgname
|
||||
|
Loading…
Reference in New Issue
Block a user