From 4ececaa1c1d177325a5a922797f98ea82fdffe65 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 19 Jun 2020 13:39:42 +0100 Subject: [PATCH] README.md: Config reference: misc.online Reported-by: Mark Wooding Signed-off-by: Ian Jackson --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e9bd358..8996a66 100644 --- a/README.md +++ b/README.md @@ -221,8 +221,8 @@ Command-line options Whether to allow cargo to make network access. nailing-cargo always passes `--offline` to cargo, unless `--online` is in - force. The default is offline, unless the cargo subcommand is - one which implies online (currently, `fetch`). + force. The default value depends on the configuration and the + cargo subcommand - see `[misc]` `online` in "Configuration". Configuration ============= @@ -338,7 +338,16 @@ names. The keys are the aliases; each entry should be a string, the cargo architecture name. Only keys starting with an ascii uppercase letter are relevant, since -all other names are not looked up in this alias map. +other names are not looked up in this alias map. + +`[misc]`: Miscellaneous individual nailing-cargo config +------------------------------------------------------- + + * `online`: boolean, specifying whether to pass `--offline` to cargo + (cargo's default is online mode). The default is offline, unless + nailing-cargo can see that the cargo subcommand being invoked is + one which requires online access (currently, `fetch`), in which + case the default is online. Running the command =================== -- 2.30.2