From: Ian Jackson Date: Fri, 19 Jun 2020 12:39:42 +0000 (+0100) Subject: README.md: Config reference: misc.online X-Git-Tag: nailing-cargo/1.0.0~141 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4ececaa1c1d177325a5a922797f98ea82fdffe65;p=nailing-cargo.git README.md: Config reference: misc.online Reported-by: Mark Wooding Signed-off-by: Ian Jackson --- 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 ===================