summaryrefslogtreecommitdiffstats
path: root/cli.txt
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-28 17:52:34 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-28 17:52:34 (EDT)
commit88dd37d6cc8bf40fd8766b41add0ae17a9cd7065 (patch)
treecf34c99e76ad2e4e27b17758a85221c434be04d4 /cli.txt
parentcbb8a97a15b7137ce590eb9ce38067e8eb8c99b0 (diff)
cli.txt: Another proposal
This one can list control files and print contents of data files.
Diffstat (limited to 'cli.txt')
-rw-r--r--cli.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/cli.txt b/cli.txt
index abaf828..c81be0d 100644
--- a/cli.txt
+++ b/cli.txt
@@ -1,2 +1,18 @@
Usage: ./opkg-opk [-c CONTROL-DIR] [-f CONTROL-FILE] [-l] PACKAGE
or: ./opkg-opk -b -c CONTROL-DIR -d DATA-DIR 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 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.
+ -f, --control-file=CONTROL-FILE Print the contents of the named control file.
+ -F, --data-file=DATA-FILE Print the contents of the named data file.
+ -l, --list-control List the control files.
+ -L, --list-data List the data files.