summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
-rw-r--r--docs/Makefile.am3
-rw-r--r--docs/plistutil.162
4 files changed, 67 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5f36fd7..edfe072 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
1AUTOMAKE_OPTIONS = foreign 1AUTOMAKE_OPTIONS = foreign
2ACLOCAL_AMFLAGS = -I m4 2ACLOCAL_AMFLAGS = -I m4
3SUBDIRS = libcnary src include tools test 3SUBDIRS = libcnary src include tools test docs
4if HAVE_CYTHON 4if HAVE_CYTHON
5SUBDIRS += cython 5SUBDIRS += cython
6endif 6endif
diff --git a/configure.ac b/configure.ac
index a2edbc4..7b19844 100644
--- a/configure.ac
+++ b/configure.ac
@@ -288,6 +288,7 @@ src/libplist.pc
288src/libplist++.pc 288src/libplist++.pc
289include/Makefile 289include/Makefile
290tools/Makefile 290tools/Makefile
291docs/Makefile
291cython/Makefile 292cython/Makefile
292test/Makefile 293test/Makefile
293fuzz/Makefile 294fuzz/Makefile
diff --git a/docs/Makefile.am b/docs/Makefile.am
new file mode 100644
index 0000000..f025791
--- /dev/null
+++ b/docs/Makefile.am
@@ -0,0 +1,3 @@
1man_MANS = plistutil.1
2
3EXTRA_DIST = $(man_MANS)
diff --git a/docs/plistutil.1 b/docs/plistutil.1
new file mode 100644
index 0000000..042c94e
--- /dev/null
+++ b/docs/plistutil.1
@@ -0,0 +1,62 @@
1.TH "plistutil" 1
2.SH NAME
3plistutil \- Convert a plist FILE from binary to XML format or vice-versa
4.SH SYNOPSIS
5.B plistutil
6[OPTIONS]
7[-i FILE]
8[-o FILE]
9.SH DESCRIPTION
10plistutil allows to convert a file in Property List format from binary to XML format or vice-versa.
11.SH OPTIONS
12.TP
13.B \-i, \-\-infile FILE
14Input FILE to convert from. If this argument is omitted or - is passed as
15filename, plistutil will read from stdin.
16.TP
17.B \-o, \-\-outfile FILE
18Output FILE to convert to. If this argument is omitted or - is passed as
19filename, plistutil will write to stdout.
20.TP
21.B \-f, \-\-format [bin|xml]
22Force output format, regardless of input type. This is useful if the input
23format is not known, but the output format should always be in a specific
24format (like xml).
25.TP
26.B \-h, \-\-help
27Prints usage information.
28.TP
29.B \-d, \-\-debug
30Enabled extended debug output.
31.TP
32.B \-v, \-\-version
33Print version information
34.SH EXAMPLES
35.TP
36.B plistutil -i test.plist -o out.plist
37Convert test.plist and write to out.plist. If test.plist is in XML format,
38out.plist will be in binary format. If test.plist is in binary format,
39out.plist will be in XML format.
40.TP
41.B plistutil -i test.plist -o out.plist -f bin
42Same as before, but the output will always be in binary format.
43.TP
44.B plistutil -i test.plist -f xml
45Print test.plist as XML plist, regardless of the input format.
46.TP
47.B plistutil -i test.plist -f xml -o -
48Same as before.
49.TP
50.B cat test.plist |plistutil -f xml
51Take plist data from stdin - piped via cat - and write the output as XML
52to stdout.
53.SH AUTHORS
54Zach C.
55
56Martin Szulecki
57
58Nikias Bassen
59.SH ON THE WEB
60https://libimobiledevice.org
61
62https://github.com/libimobiledevice/libplist