chiark / gitweb /
man: readahead: fix cmdline switch inconsistency between readahead.c and docs
authorAlison Chaiken <alison_chaiken@mentor.com>
Fri, 16 May 2014 07:25:53 +0000 (09:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 May 2014 15:13:03 +0000 (17:13 +0200)
Source code has "files-max" and XML has --max-files.

man/systemd-readahead-replay.service.xml
src/readahead/readahead.c

index 67b41f5b26b5cff86ceb054d84cb6ae20a977c79..669fe789427aa51e1ac83b13db93ba8e169593a6 100644 (file)
 
                 <variablelist>
                         <varlistentry>
-                                <term><option>--max-files=</option></term>
+                                <term><option>--files-max=</option></term>
 
                                 <listitem><para>Maximum number of
                                 files to read ahead. Only valid
index d6729ec946193358145b63e061a601972a0f896b..73cf53805544e1b38a20d58fe67bd7c7cb2bfc43 100644 (file)
@@ -42,7 +42,7 @@ static int help(void) {
                "Collect read-ahead data on early boot.\n\n"
                "  -h --help                 Show this help\n"
                "     --version              Show package version\n"
-               "     --max-files=INT        Maximum number of files to read ahead\n"
+               "     --files-max=INT        Maximum number of files to read ahead\n"
                "     --file-size-max=BYTES  Maximum size of files to read ahead\n"
                "     --timeout=USEC         Maximum time to spend collecting data\n\n\n",
                program_invocation_short_name);