From 0c42100c16297ae779c67ff09e3467544d2987a8 Mon Sep 17 00:00:00 2001 From: Julien Lavergne Date: Tue, 8 Feb 2011 02:44:21 +0100 Subject: [PATCH] Add a manpage --- configure.ac | 2 +- docs/Makefile.am | 3 +++ docs/ifuse.1 | 45 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletions(-) create mode 100644 docs/Makefile.am create mode 100644 docs/ifuse.1 diff --git a/configure.ac b/configure.ac index 52d11cb..53cf2ed 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ AC_FUNC_MALLOC AC_FUNC_REALLOC AC_CHECK_FUNCS([strcasecmp strdup strerror strndup]) -AC_OUTPUT(Makefile src/Makefile) +AC_OUTPUT(Makefile src/Makefile docs/Makefile) echo " Configuration for $PACKAGE $VERSION: diff --git a/docs/Makefile.am b/docs/Makefile.am new file mode 100644 index 0000000..5af0208 --- /dev/null +++ b/docs/Makefile.am @@ -0,0 +1,3 @@ +man_MANS = ifuse.1 + +EXTRA_DIST = $(man_MANS) diff --git a/docs/ifuse.1 b/docs/ifuse.1 new file mode 100644 index 0000000..27ea2d6 --- /dev/null +++ b/docs/ifuse.1 @@ -0,0 +1,45 @@ +.TH "ifuse" 1 +.SH NAME +ifuse \- Mount filesystem of an iPhone, iPod Touch, iPad or Apple TV. +.SH SYNOPSIS +.B ifuse [OPTIONS] + +.SH DESCRIPTION + +Mount filesystem of an iPhone, iPod Touch, iPad or Apple TV + +Example: + +ifuse /media/iPhone \-\-root + +This mounts the root filesystem of the first attached device on +this computer in the directory /media/iPhone. + + +.SH OPTIONS +.TP +.B \-o opt,[opt...] +mount options. +.TP +.B \-u|\-\-uuid UUID +mount specific device by its 40-digit device UUID. +.TP +.B \-h|\-\-help +prints usage information. +.TP +.B \-V|\-\-version +print version. +.TP +.B \-\-appid APPID +mount 'Documents' folder of app identified by APPID. +.TP +.B \-\-root +mount root file system (jailbroken device required). +.TP +.B \-\-debug +enable libimobiledevice communication debugging. + +.SH AUTHOR +Matt Colyer + +Man page written to conform with Debian by Julien Lavergne. -- 1.7.1