From 0ec7df10423ddcaa8f043cb1d8446c71a3cfa2c7 Mon Sep 17 00:00:00 2001 From: Miran Date: Wed, 12 Apr 2023 19:01:29 +0200 Subject: [PATCH] fix spelling in conf.nim (#4813) --- beacon_chain/conf.nim | 14 +++++++------- docs/the_nimbus_book/src/options.md | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/beacon_chain/conf.nim b/beacon_chain/conf.nim index 0c35259ec..b3c0751a9 100644 --- a/beacon_chain/conf.nim +++ b/beacon_chain/conf.nim @@ -144,7 +144,7 @@ type name: "log-format" .}: StdoutLogKind logFile* {. - desc: "Specifies a path for the written Json log file (deprecated)" + desc: "Specifies a path for the written JSON log file (deprecated)" name: "log-file" .}: Option[OutFile] eth2Network* {. @@ -205,7 +205,7 @@ type name: "require-engine-api-in-bellatrix" .}: Option[bool] nonInteractive* {. - desc: "Do not display interative prompts. Quit on missing configuration" + desc: "Do not display interactive prompts. Quit on missing configuration" name: "non-interactive" .}: bool netKeyFile* {. @@ -533,7 +533,7 @@ type name: "dump" .}: bool directPeers* {. - desc: "The list of priviledged, secure and known peers to connect and maintain the connection to, this requires a not random netkey-file. In the complete multiaddress format like: /ip4/
/tcp//p2p/. Peering agreements are established out of band and must be reciprocal." + desc: "The list of privileged, secure and known peers to connect and maintain the connection to, this requires a not random netkey-file. In the complete multiaddress format like: /ip4/
/tcp//p2p/. Peering agreements are established out of band and must be reciprocal." name: "direct-peer" .}: seq[string] doppelgangerDetection* {. @@ -820,7 +820,7 @@ type name: "log-format" .}: StdoutLogKind logFile* {. - desc: "Specifies a path for the written Json log file (deprecated)" + desc: "Specifies a path for the written JSON log file (deprecated)" name: "log-file" .}: Option[OutFile] dataDir* {. @@ -842,7 +842,7 @@ type name: "doppelganger-detection" .}: bool nonInteractive* {. - desc: "Do not display interative prompts. Quit on missing configuration" + desc: "Do not display interactive prompts. Quit on missing configuration" name: "non-interactive" .}: bool validatorsDirFlag* {. @@ -963,11 +963,11 @@ type name: "log-stdout" .}: StdoutLogKind logFile* {. - desc: "Specifies a path for the written Json log file" + desc: "Specifies a path for the written JSON log file" name: "log-file" .}: Option[OutFile] nonInteractive* {. - desc: "Do not display interative prompts. Quit on missing configuration" + desc: "Do not display interactive prompts. Quit on missing configuration" name: "non-interactive" .}: bool dataDir* {. diff --git a/docs/the_nimbus_book/src/options.md b/docs/the_nimbus_book/src/options.md index e84eb67c1..525a5db28 100644 --- a/docs/the_nimbus_book/src/options.md +++ b/docs/the_nimbus_book/src/options.md @@ -29,7 +29,7 @@ The following options are available: --config-file Loads the configuration from a TOML file. --log-level Sets the log level for process and topics (e.g. "DEBUG; TRACE:discv5,libp2p; REQUIRED:none; DISABLED:none") [=INFO]. - --log-file Specifies a path for the written Json log file (deprecated). + --log-file Specifies a path for the written JSON log file (deprecated). --network The Eth2 network to join [=mainnet]. -d, --data-dir The directory where nimbus will store all blockchain data. --validators-dir A directory containing validator keystores. @@ -39,7 +39,7 @@ The following options are available: --el One or more execution layer Engine API URLs. --no-el Don't use an EL. The node will remain optimistically synced and won't be able to perform validator duties [=false]. - --non-interactive Do not display interative prompts. Quit on missing configuration. + --non-interactive Do not display interactive prompts. Quit on missing configuration. --netkey-file Source of network (secp256k1) private key file (random|) [=random]. --insecure-netkey-password Use pre-generated INSECURE password for network private key file [=false]. --agent-string Node agent string which is used as identifier in network [=nimbus]. @@ -102,7 +102,7 @@ The following options are available: beacon node itself [=true]. --discv5 Enable Discovery v5 [=true]. --dump Write SSZ dumps of blocks, attestations and states to data dir [=false]. - --direct-peer The list of priviledged, secure and known peers to connect and maintain the + --direct-peer The list of privileged, secure and known peers to connect and maintain the connection to, this requires a not random netkey-file. In the complete multiaddress format like: /ip4/
/tcp//p2p/. Peering agreements are established out of band and must be reciprocal..