diff --git a/book/src/api-reference/cli.md b/book/src/api-reference/cli.md index 7a0ee42463..04e6502ec6 100644 --- a/book/src/api-reference/cli.md +++ b/book/src/api-reference/cli.md @@ -1183,7 +1183,7 @@ solana-set Set a cli config setting USAGE: - solana set [FLAGS] [OPTIONS] <--url |--keypair > + solana config set [FLAGS] [OPTIONS] <--url |--keypair > FLAGS: -h, --help Prints help information diff --git a/book/src/paper-wallet/usage.md b/book/src/paper-wallet/usage.md index 87c76e952b..1b06b37fef 100644 --- a/book/src/paper-wallet/usage.md +++ b/book/src/paper-wallet/usage.md @@ -102,7 +102,7 @@ networked machine. Next, configure the `solana` CLI tool to connect to a particular cluster: ```bash -solana set --url # (i.e. http://testnet.solana.com:8899) +solana config set --url # (i.e. http://testnet.solana.com:8899) ``` Finally, to check the balance, run the following command: diff --git a/book/src/running-validator/validator-start.md b/book/src/running-validator/validator-start.md index 5bb254d31c..7c6b411120 100644 --- a/book/src/running-validator/validator-start.md +++ b/book/src/running-validator/validator-start.md @@ -6,7 +6,7 @@ The solana cli includes `get` and `set` configuration commands to automatically set the `--url` argument for cli commands. For example: ```bash -solana set --url http://testnet.solana.com:8899 +solana config set --url http://testnet.solana.com:8899 ``` \(You can always override the set configuration by explicitly passing the @@ -100,7 +100,7 @@ Now that you have a keypair, set the solana configuration to use your validator keypair for all following commands: ```bash -solana set --keypair ~/validator-keypair.json +solana config set --keypair ~/validator-keypair.json ``` You should see the following output: