diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-09-27 19:59:26 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-09-30 00:06:09 +0200 |
commit | c396a58ba7d4ce9f7087379537fa2251a90af52a (patch) | |
tree | ae4a2e8ec42ce82c4f8de4e4038feb7796ced821 /lsinitcpio.1.txt | |
parent | 887511601787db60b5692802fc2ccdfd47c0d698 (diff) | |
download | mkinitcpio-c396a58ba7d4ce9f7087379537fa2251a90af52a.tar.gz mkinitcpio-c396a58ba7d4ce9f7087379537fa2251a90af52a.tar.xz |
lsinitcpio: add -l, --list option; define as default
This is the default action for lsinitcpio. Add it just for the purpose
of clarity. This change also separates out true options from 'actions'
and validates that the user only passed a single action to lsinitcpio.
Update the manpage accordingly.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'lsinitcpio.1.txt')
-rw-r--r-- | lsinitcpio.1.txt | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/lsinitcpio.1.txt b/lsinitcpio.1.txt index 63b5566..d1ffeb7 100644 --- a/lsinitcpio.1.txt +++ b/lsinitcpio.1.txt @@ -10,14 +10,14 @@ lsinitcpio - Examine an initramfs Synopsis -------- -'lsinitcpio' [options] 'image' +'lsinitcpio' [action] [options] 'image' Description ----------- Examines the contents of an initcpio image. Without any options, 'lsinitcpio' simply lists the contents of an image. -Options +Actions ------- *-a, \--analyze*:: Analyze the contents of the specified image and print output in human @@ -26,6 +26,16 @@ Options *-c, \--config*:: Show the configuration file the given image was built with. +*-l, \--list*:: + List the contents of the archive. This is the default action. Pass the *-v* + flag for more detailed results. + +*-x, \--extract*:: + Extract the given image to the current working directory. + +Options +------- + *-h, \--help*:: Output a short overview of available command-line switches. @@ -37,9 +47,6 @@ Options 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 |