From: Alison Chaiken Date: Fri, 16 May 2014 07:25:53 +0000 (+0200) Subject: man: readahead: fix cmdline switch inconsistency between readahead.c and docs X-Git-Tag: v213~127 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=332bc31992acffc6f32e194c0122e01607bd0e27;hp=a8c73b860c04a6feb1d3edb15b283f3bb3dde799;p=elogind.git man: readahead: fix cmdline switch inconsistency between readahead.c and docs Source code has "files-max" and XML has --max-files. --- diff --git a/man/systemd-readahead-replay.service.xml b/man/systemd-readahead-replay.service.xml index 67b41f5b2..669fe7894 100644 --- a/man/systemd-readahead-replay.service.xml +++ b/man/systemd-readahead-replay.service.xml @@ -117,7 +117,7 @@ - + Maximum number of files to read ahead. Only valid diff --git a/src/readahead/readahead.c b/src/readahead/readahead.c index d6729ec94..73cf53805 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);