summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Bednarski <andrzej.bednarski@gmail.com>2018-11-25 16:22:14 +0300
committerJonathan Corbet <corbet@lwn.net>2018-11-25 22:25:53 +0300
commit06ee6ed36f941b6359d014e842d2a41a2fbd4e9c (patch)
tree0848cea0c272137aecb1f04129da7fc88f2bc3f5
parentc969eb830175f42b6cc0c8e80f6fce452fd75788 (diff)
downloadlinux-06ee6ed36f941b6359d014e842d2a41a2fbd4e9c.tar.xz
Correct gen_init_cpio tool's documentation
The documentation for gen_init_cpio mentions to invoke the tool with '--help' flag for showing directive file format information. However, only the short name variant '-h' is implemented. Invoking the tool with the long name returns invalid option message and sets an error code. Signed-off-by: Andrzej Bednarski <andrzej.bednarski@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/early-userspace/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/early-userspace/README b/Documentation/early-userspace/README
index 1e1057958dd3..955d667dc87e 100644
--- a/Documentation/early-userspace/README
+++ b/Documentation/early-userspace/README
@@ -52,7 +52,7 @@ user root (0). INITRAMFS_ROOT_GID can be set to a group ID that needs
to be mapped to group root (0).
A source file must be directives in the format required by the
-usr/gen_init_cpio utility (run 'usr/gen_init_cpio --help' to get the
+usr/gen_init_cpio utility (run 'usr/gen_init_cpio -h' to get the
file format). The directives in the file will be passed directly to
usr/gen_init_cpio.