diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-05-14 06:44:06 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-05-14 06:44:06 (EDT) |
commit | ce2b1261cf4c5edd73f44aa7c3b27bf9da7da647 (patch) | |
tree | 1d8fd407034b3c07d67f7cdaa82d19c6f372041f | |
parent | ba42d9d8c1747c14eec9fd47a39617aa9adf607a (diff) |
cli.txt: Split options by mode
-rw-r--r-- | cli.txt | 38 |
1 files changed, 22 insertions, 16 deletions
@@ -3,23 +3,11 @@ Usage: ./opkg-opk [-c CONTROL-DIR] [-f CONTROL-FILE] [-l] PACKAGE --- OR --- -Usage: ./opkg-opk [-c CONTROL-DIR] [-f CONTROL-FILE] [-F DATA-FILE] [-l] [-L] PACKAGE - or: ./opkg-opk -b -c CONTROL-DIR -d DATA-DIR [-o OVERRIDE-FILE] [-u USER] [-g GROUP] [-r] PACKAGE +Read mode: +Usage: ./opkg-opk [-c CONTROL-DIR] [-f CONTROL-FILE] [-F DATA-FILE] [-l] [-L] \ + PACKAGE Options: - -b, --build Create a package from the specified - CONTROL-DIR and DATA-DIR. - -c, --control-dir=CONTROL-DIR In build mode, read control files from - CONTROL-DIR. Otherwise, extract control - files into CONTROL-DIR. - -d, --data-dir=DATA-DIR In build mode, read data files from DATA-DIR. - -o, --ownership=OVERRIDE-FILE In build mode, read user/group overrides from - OVERRIDE-FILE. - -u, --user=USER In build mode, set owner to USER instead of - UID 0 for files without user/group overrides. - -g, --group=USER In build mode, set group to GROUP instead of - GID 0 for files without user/group overrides. - -r, --real-owner In build mode, use the real ownership of - files without user/group overrides. + -c, --control-dir=CONTROL-DIR Extract control files into CONTROL-DIR. -f, --control-file=CONTROL-FILE Print the contents of the named control file. If this option is given multiple times, the named control files will be printed in the @@ -35,6 +23,24 @@ Options: listing. User and group IDs and names are not checked against those on the host system, since they may differ. + +Build mode: +Usage: ./opkg-opk -b -c CONTROL-DIR -d DATA-DIR [-o OVERRIDE-FILE] \ + [-u USER] [-g GROUP] [-r] PACKAGE +Options: + -b, --build Create a package from the specified + CONTROL-DIR and DATA-DIR. + -c, --control-dir=CONTROL-DIR Read control files from CONTROL-DIR. + -d, --data-dir=DATA-DIR Read data files from DATA-DIR. + -o, --ownership=OVERRIDE-FILE Read user/group overrides from OVERRIDE-FILE. + -u, --user=USER Set owner to USER instead of UID 0 for files + without user/group overrides. + -g, --group=USER Set group to GROUP instead of GID 0 for files + without user/group overrides. + -r, --real-owner Use the real ownership of files without user/ + group overrides. + +Other options: -h, --help Show this help information and exit. -V, --version Show version information and exit. |