From 88dd37d6cc8bf40fd8766b41add0ae17a9cd7065 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 28 Apr 2023 17:52:34 -0400 Subject: cli.txt: Another proposal This one can list control files and print contents of data files. --- 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. -- cgit v0.9.1