From: Joel Rosdahl Date: Fri, 14 Jun 2024 18:11:52 +0000 (+0200) Subject: docs: Clarify that --set-config writes to the configuration file X-Git-Tag: v4.11~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d220910c1bb52b8f5ea2a8b8ad56f951cf0862c1;p=thirdparty%2Fccache.git docs: Clarify that --set-config writes to the configuration file See also discussion #1468. --- diff --git a/doc/MANUAL.adoc b/doc/MANUAL.adoc index 81886a1e..68d91328 100644 --- a/doc/MANUAL.adoc +++ b/doc/MANUAL.adoc @@ -159,8 +159,8 @@ documentation. *-o* _KEY=VALUE_, *--set-config* _KEY_=_VALUE_:: - Set configuration option _KEY_ to _VALUE_. See _<>_ for more - information. + Set configuration option _KEY_ to _VALUE_ in the configuration file. See + _<>_ for more information. *-x*, *--show-compression*:: diff --git a/src/ccache/core/mainoptions.cpp b/src/ccache/core/mainoptions.cpp index 33b0b328..ea184540 100644 --- a/src/ccache/core/mainoptions.cpp +++ b/src/ccache/core/mainoptions.cpp @@ -130,7 +130,8 @@ Common options: --recompress-threads THREADS use up to THREADS threads when recompressing the cache; default: number of CPUs - -o, --set-config KEY=VALUE set configuration option KEY to value VALUE + -o, --set-config KEY=VALUE set configuration option KEY to value VALUE in the + configuration file -x, --show-compression show compression statistics -p, --show-config show current configuration options in human-readable format