From cee96559cb3819a852bc7e7b129e869e121ff04b Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Fri, 14 Jun 2024 20:11:52 +0200 Subject: [PATCH] docs: Clarify that --set-config writes to the configuration file See also discussion #1468. (cherry picked from commit d220910c1bb52b8f5ea2a8b8ad56f951cf0862c1) --- doc/MANUAL.adoc | 4 ++-- src/ccache/core/mainoptions.cpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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 -- 2.47.2