]> pd.if.org Git - zpackage/blobdiff - doc/zpm-elftype.8
expand docs
[zpackage] / doc / zpm-elftype.8
diff --git a/doc/zpm-elftype.8 b/doc/zpm-elftype.8
new file mode 100644 (file)
index 0000000..81e36b1
--- /dev/null
@@ -0,0 +1,70 @@
+.TH zpm-elftype 8 2019-02-14 "ZPM 0.3"
+.SH NAME
+zpm-elftype \- print type of elf files
+.SH SYNOPSIS
+.B zpm elftype
+[
+.BI -f " listfile"
+]
+[
+.B -redclatnvp0
+]
+.RI [ path ...]
+.SH DESCRIPTION
+\fBzpm-elftype\fR
+prints and filters lists of paths according to their elftype.  By default
+the program checks its non-option arguments.
+.SH OPTIONS
+.TP
+\-l
+Don't follow symlinks when checking paths.
+.TP
+\-r
+Accept relocatable files.
+.TP
+\-e
+Accept executable files.
+.TP
+\-d
+Accept dynamic files.
+.TP
+\-c
+Accept CORE files.
+.TP
+\-t
+Print file type.
+.TP
+\-n
+Print file name.
+.TP
+\-v
+Run in verbose mode.
+.TP
+\-p
+print errors
+.TP
+-a
+Accept all elf files.  Equivalent to -redc
+.TP
+\-f \fIpath\fR
+Take the list of paths to check from the path.  If the path is '-' then
+use stdin.
+.TP
+\-0
+When printing type or path information, terminate items with a zero byte.
+Otherwise, by default, a newline is used.
+.SH EXAMPLES
+.TP
+zpm elftype
+lists all files in the local database
+.SH EXIT STATUS
+0 on success non zero on failure
+.SH FILES
+/var/lib/zpm/local.db
+.SH ENVIRONMENT
+ZPMDB
+.SH AUTHOR
+Nathan Wagner
+.SH SEE ALSO
+.BR zpm (8)
+.BR elf (5)