Fix outdated docs (README, man page)

This commit is contained in:
0x1eef 2024-05-21 21:32:55 -03:00
parent 08b4fd0c76
commit 8625d945b9
2 changed files with 22 additions and 22 deletions

View file

@ -19,21 +19,21 @@ the first time:
### CLI: portzap
# Clone the HardenedBSD ports tree into /home/_portzap/ports/.
# This command is delegated to the '_portzap' user.
# Clone the HardenedBSD ports tree into /home/_portzap/ports/
# This command is delegated to the '_portzap' user
$ portzap clone
# Pull updates into /home/_portzap/ports/.
# This command is delegated to the '_portzap' user.
# Pull updates into /home/_portzap/ports/
# This command is delegated to the '_portzap' user
$ portzap pull
# Install /home/_portzap/ports/ into /usr/ports/.
# This command requires root privileges.
# Install /home/_portzap/ports/ into /usr/ports/
# This command requires root privileges
# portzap install
# Start over: erase /usr/ports/ and /home/_portzap/ports/.
# This command requires root privileges.
$ portzap erase
# Remove the contents of /usr/ports/ and /home/_portzap/ports/
# This command requires root privileges
$ portzap rm
### ENVIRONMENT

View file

@ -12,7 +12,7 @@ portzap pull
.br
portzap install
.br
portzap erase
portzap rm
.Sh DESCRIPTION
.Nm portzap
manages a copy of the HardenedBSD ports tree.
@ -24,47 +24,47 @@ can be installed into /usr/ports/ by root.
.sp
.Nm portzap clone
.br
Clone the HardenedBSD ports tree into /home/_portzap/ports/.
Clone the HardenedBSD ports tree into /home/_portzap/ports/
.br
This command is delegated to the '_portzap' user.
This command is delegated to the '_portzap' user
.Pp
.Nm portzap pull
.br
Pull updates into /home/_portzap/ports/.
Pull updates into /home/_portzap/ports/
.br
This command is delegated to the '_portzap' user.
This command is delegated to the '_portzap' user
.Pp
.Nm portzap install
.br
Install /home/_portzap/ports/ into /usr/ports/.
Install /home/_portzap/ports/ into /usr/ports/
.br
This command requires root privileges.
This command requires root privileges
.Pp
.Nm portzap erase
.Nm portzap rm
.br
Start over: erase /usr/ports/ and /home/_portzap/ports/.
Remove the contents of /usr/ports/ and /home/_portzap/ports/
.br
This command requires root privileges.
This command requires root privileges
.br
.Sh ENVIRONMENT
.sp
.sp
.Nm PORTZAP_GITURL
.br
The URL to a git repository.
The URL to a git repository
.br
Default: https://git.HardenedBSD.org/HardenedBSD/ports.git
.sp
.Nm PORTZAP_BRANCH
.br
The git branch to clone and pull updates from.
The git branch to clone and pull updates from
.br
Default: hardenedbsd/main
.br
.sp
.Nm PORTZAP_INSTALLDIR
.br
The directory where the ports collection will be installed.
The directory where the ports collection will be installed
.br
Default: /usr/ports/
.sp