From 842b2a01e686698b259310d4ddead437ea57ea32 Mon Sep 17 00:00:00 2001 From: Cubic Love <7754483+cubiclove@users.noreply.github.com> Date: Sun, 10 Sep 2023 18:57:29 +0100 Subject: [PATCH] Base: Add manpage for pkg --- Base/usr/share/man/man1/pkg.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Base/usr/share/man/man1/pkg.md diff --git a/Base/usr/share/man/man1/pkg.md b/Base/usr/share/man/man1/pkg.md new file mode 100644 index 0000000000..3c335b9d69 --- /dev/null +++ b/Base/usr/share/man/man1/pkg.md @@ -0,0 +1,34 @@ +## Name + +pkg - Package Manager + +## Synopsis + +```**sh +$ pkg [-l] [-d] [-u] [-v] [-q package] +``` + +## Description + +This program can list installed packages and query for [available packages](https://github.com/SerenityOS/serenity/blob/master/Ports/AvailablePorts.md). The [Ports for SerenityOS website](https://ports.serenityos.net) has more detailed information about available packages. + +It does not currently support installing and uninstalling packages. To install third-party software use the [Ports system](https://github.com/SerenityOS/serenity/blob/master/Ports/README.md). + +## Options + +* `-l`, `--list-manual-ports`: Show all manually-installed ports +* `-d`, `--list-dependency-ports`: Show all dependencies' ports +* `-u`, `--update-ports-database`: Sync/Update ports database +* `-v`, `--verbose`: Verbose output +* `-q`, `--query-package`: Query the ports database for package name + +## Arguments + +* `package`: The name of the package you want to query + +## Example + +```sh +# Query the ports database for the serenity-theming package +$ pkg -q serenity-theming +```