barely a pack manager
git clone git://
Log | Files | Refs | README | LICENSE

commit 95c3494e630efb221d053b015b1aeb0276c8ed36
parent cff442f1fd7f8d6b3a9b8d3996cadaddf5be5f0c
Author: z3bra <willyatmailoodotorg>
Date:   Sun Jun 19 23:11:28 +0200

Update manpage to match the current software

pm.1 | 25++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/pm.1 b/pm.1 @@ -6,9 +6,8 @@ .Nd pack manager .Sh SYNOPSIS .Nm pm -.Op Fl vvv -.Op Fl adfiu -.Op Ar arg.. +.Op Fl adfiuv +.Op Ar PACK.. .Sh DESCRIPTION .Nm installs, deletes, inspects and updates packs on a POSIX operating system. @@ -18,12 +17,14 @@ Add pack(s) under $ROOT. This action will fail if a file from the pack already exists under $ROOT (See .Fl f flag) -.It Fl d Ar <name> -Delete pack(s) based on information from $META/pack +.It Fl d Ar <arg> +Delete a pack from the system based on informations loaded from either a +filename or a pack name. In case of a pack name, the information is loaded +from $ROOT/var/pm/<arg> .It Fl u Ar <file> Update pack(s) by first deleting it, and reinstalling it .It Fl i Ar [name] -If a pack name is provided, dump the content of $META/pack/files to stdout. +If a name is provided, dump the content of $ROOT/var/pm/<name>/files to stdout. Otherwise, list all packs installed on the system along with their version number .It Fl v @@ -37,18 +38,16 @@ detail all tasks being executed (VERBOSE) report every change made to the filesystem (DEBUG) .El The logging level can be increased by passing the verbose flag (-v) again. -Each level includes the messages of the previous levels. +Each level includes the messages of the previous ones. .It Fl f -Force overwriting files +Force overwriting files during installation. This shouldn't be needed, so take +extra care when using it. .El .Sh ENVIRONMENT -.Bl -tag -width Ds +.Bl -tag -width "ROOT" .It Ev ROOT Specifies the directory to use as the rootfs for packs installation -(default: /ns/pm/rootfs) -.It Ev META -Specifies the directory to use for storing packs metadata files -(default: /ns/pm/rootfs/metadata) +(default: /) .El .Sh SEE ALSO .Xr pack 5 ,