summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlison Chaiken <alison_chaiken@mentor.com>2014-05-16 09:25:53 +0200
committerLennart Poettering <lennart@poettering.net>2014-05-16 17:13:03 +0200
commit332bc31992acffc6f32e194c0122e01607bd0e27 (patch)
tree77b38e8d19349961d6bc0d762b7b45e50517facb
parenta8c73b860c04a6feb1d3edb15b283f3bb3dde799 (diff)
man: readahead: fix cmdline switch inconsistency between readahead.c and docs
Source code has "files-max" and XML has --max-files.
-rw-r--r--man/systemd-readahead-replay.service.xml2
-rw-r--r--src/readahead/readahead.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/systemd-readahead-replay.service.xml b/man/systemd-readahead-replay.service.xml
index 67b41f5b26..669fe78942 100644
--- a/man/systemd-readahead-replay.service.xml
+++ b/man/systemd-readahead-replay.service.xml
@@ -117,7 +117,7 @@
<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
diff --git a/src/readahead/readahead.c b/src/readahead/readahead.c
index d6729ec946..73cf538055 100644
--- a/src/readahead/readahead.c
+++ b/src/readahead/readahead.c
@@ -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);