summaryrefslogtreecommitdiffstats
path: root/mkinitcpio.8.txt
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-04-18 01:23:15 +0200
committerDave Reisner <dreisner@archlinux.org>2012-04-22 05:43:52 +0200
commitfa5484c81c40e0a5a05194909600716f39ce0faf (patch)
tree8d83ec1e2a9dd68e4031696008a24f14a00512d5 /mkinitcpio.8.txt
parent5d62de59adfa8e6b7c19c418effc8757637c702e (diff)
downloadmkinitcpio-fa5484c81c40e0a5a05194909600716f39ce0faf.tar.gz
mkinitcpio-fa5484c81c40e0a5a05194909600716f39ce0faf.tar.xz
mkinitcpio: adopt parseopts for option parsing
Updates the doc and bash-completion, as well. Also adds the previously unmentioned -A option to the --help output. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'mkinitcpio.8.txt')
-rw-r--r--mkinitcpio.8.txt32
1 files changed, 16 insertions, 16 deletions
diff --git a/mkinitcpio.8.txt b/mkinitcpio.8.txt
index 2b45f3b..10076a8 100644
--- a/mkinitcpio.8.txt
+++ b/mkinitcpio.8.txt
@@ -24,68 +24,68 @@ other features.
Options
-------
-*-A* 'hooks'::
+*-A, \--add* 'hooks'::
Add the additional 'hooks' to the image. These will be processed in order
after all other hooks from the config file. Multiple hooks should be
comma-separated. This option can be specified multiple times.
-*-b* 'basedir'::
+*-b, \--basedir* 'basedir'::
Use 'basedir' as a starting point for gathering information about the
currently running system. Default: /.
-*-c* 'config'::
+*-c, \--config* 'config'::
Use 'config' file to generate the ramdisk. Default: /etc/mkinitcpio.conf
-*-g* 'filename'::
+*-g, \--generate* 'filename'::
Generate a CPIO image as 'filename'. Default: no; this means nothing will be
written to the filesystem unless this option is specified.
-*-H* 'hookname'::
+*-H, \--hookhelp* 'hookname'::
Output help for hookname 'hookname'.
-*-h*::
+*-h, \--help*::
Output a short overview of available command-line switches.
-*-k* 'kernelversion'::
+*-k, \--kernel* 'kernelversion'::
Use 'kernelversion', instead of the current running kernel. This may be a
path to a kernel image or a specific kernel version. If specified as a path to
an image, this will always be prefixed by the 'basedir'.
-*-L*::
+*-L, \--listhooks*::
List all available hooks.
-*-M*::
+*-M, \--automods*::
Display modules found via autodetection. mkinitcpio will automatically try to
determine which kernel modules are needed to start your computer. This option
lists which modules were detected.
-*-n*::
+*-n, \--nocolor*::
Disable color output.
-*-p* 'preset'::
+*-p, \--preset* 'preset'::
Build initramfs image(s) according to specified 'preset'. This may be a file in
/etc/mkinitcpio.d (without the .preset extension) or a full, absolute path to a
file.
-*-S* 'hooks'::
+*-S, \--skiphooks* 'hooks'::
Skip 'hooks' when generating the image. Multiple hooks should be comma-separated.
This option can be specified multiple times.
-*-s*::
+*-s, \--save*::
Saves the build directory for the initial ramdisk. Default: no; This means
the directory will not be retained if this option isn't specified. Useful for
debugging purposes.
-*-t* 'tmpdir'::
+*-t, \--builddir* 'tmpdir'::
Use 'tmpdir' as the temporary build directory instead of /tmp. 'tmpdir'
must exist. The 'TMPDIR' environment variable is also honored to set this
location, but the command line option will take precedence.
-*-v*::
+*-v, \--verbose*::
Verbose output. Outputs more information about what's happening during
creation of the ramdisk.
-*-z* 'compress'::
+*-z, \--compress* 'compress'::
Override the compression method with the 'compress' program.
About Hooks