summaryrefslogtreecommitdiffstats
path: root/cli.txt
blob: 10d455abe503149c34a5d41cae5edc29456bb02d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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.
                                   If this option is given multiple times, the
                                   named control files will be printed in the
                                   order they appear in the package.
  -F, --data-file=DATA-FILE        Print the contents of the named data file.
                                   If this option is given multiple times, the
                                   named data files will be printed in the order
                                   they appear in the package.
  -l, --list-control               List the control files.
  -L, --list-data                  List the data files.  The list is currently
                                   produced in a format similar to that
                                   generated by GNU and BusyBox tar's verbose
                                   listing.  User and group IDs and names are
                                   not checked against those on the host system,
                                   since they may differ.
  -h, --help                       Show this help information and exit.
  -V, --version                    Show version information and exit.

-f and -l are mutually exclusive
-F and -L are mutually exclusive
-f, -F, -l, and -L are invalid with -b
-d is only valid with -b