diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-04-18 02:05:25 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-04-22 05:43:52 +0200 |
commit | a00605154eb9502845248a280049435354d15d94 (patch) | |
tree | 65da388fa42bfd449ce44913614381333f7ec9a4 | |
parent | 86dc2a6d71b9330991ab48b9ba00936cd8370182 (diff) | |
download | mkinitcpio-a00605154eb9502845248a280049435354d15d94.tar.gz mkinitcpio-a00605154eb9502845248a280049435354d15d94.tar.xz |
Add manpage for lsinitcpio
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 16 | ||||
-rw-r--r-- | lsinitcpio.1.txt | 55 |
3 files changed, 69 insertions, 3 deletions
@@ -1,4 +1,5 @@ mkinitcpio.8 +lsinitcpio.1 *~ *.bak mkinitcpio-*.tar.gz @@ -9,10 +9,12 @@ DIRS = \ /usr/lib/initcpio/hooks \ /usr/lib/initcpio/install \ /usr/lib/initcpio/udev \ - /usr/share/man/man8 + /usr/share/man/man8 \ + /usr/share/man/man1 DIST_EXTRA = \ - mkinitcpio.8 + mkinitcpio.8 \ + lsinitcpio.1 all: doc @@ -44,9 +46,10 @@ install: all install -m644 -t ${DESTDIR}/etc/mkinitcpio.d mkinitcpio.d/* install -m644 mkinitcpio.8 ${DESTDIR}/usr/share/man/man8/mkinitcpio.8 + install -m644 lsinitcpio.1 ${DESTDIR}/usr/share/man/man1/lsinitcpio.1 install -m644 bash-completion ${DESTDIR}/usr/share/bash-completion/completions/mkinitcpio -doc: mkinitcpio.8 +doc: mkinitcpio.8 lsinitcpio.1 mkinitcpio.8: mkinitcpio.8.txt Makefile a2x -d manpage \ -f manpage \ @@ -54,6 +57,13 @@ mkinitcpio.8: mkinitcpio.8.txt Makefile -a manversion=${VERSION} \ -a manmanual=mkinitcpio mkinitcpio.8.txt +lsinitcpio.1: lsinitcpio.1.txt Makefile + a2x -d manpage \ + -f manpage \ + -a mansource=lsinitcpio \ + -a manversion=${VERSION} \ + -a manmanual=lsinitcpio lsinitcpio.1.txt + clean: ${RM} -r build mkinitcpio-${VERSION} ${RM} mkinitcpio-${VERSION}.tar.gz mkinitcpio.8 mkinitcpio.8.gz diff --git a/lsinitcpio.1.txt b/lsinitcpio.1.txt new file mode 100644 index 0000000..09ffb54 --- /dev/null +++ b/lsinitcpio.1.txt @@ -0,0 +1,55 @@ +///// +vim:set ts=4 sw=4 syntax=asciidoc noet: +///// +lsinitcpio(1) +============= + +Name +---- +lsinitcpio - Examine an initramfs + +Synopsis +-------- +'lsinitcpio' [options] 'image' + +Description +----------- +Examines the contents of an initcpio image. Without any options, 'lsinitcpio' +simply lists the contents of an image. + +Options +------- +*-a, \--analyze*:: + Analyze the contents of the specified image and print output in human + readable form. + +*-h, \--help*:: + Output a short overview of available command-line switches. + +*-n, \--nocolor*:: + Disable color output. + +*-v, \--verbose*:: + Be more verbose. In particular, show long style output when listing + the contents of an image, and show files as they are extracted when + the *-x* option is given. + +*-x, \--extract*:: + Extract the given image to the current working directory. + +Bugs +---- +Upon writing this manpage, there were no noticeable bugs present. Please visit +<http://bugs.archlinux.org/> for an up to date list. + +See Also +-------- +*mkinitcpio*(8) + +Authors +------- +lsinitcpio was created by Dave Reisner <dreisner@archlinux.org> + +Copyright +--------- +Copyright (c) Arch Linux |