`solana set` => `solana config set`

This commit is contained in:
Michael Vines 2020-01-21 08:53:44 -07:00
parent 356f246a74
commit 7e4c6ff218
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
3 changed files with 4 additions and 4 deletions

View File

@ -1183,7 +1183,7 @@ solana-set
Set a cli config setting
USAGE:
solana set [FLAGS] [OPTIONS] <--url <URL>|--keypair <PATH>>
solana config set [FLAGS] [OPTIONS] <--url <URL>|--keypair <PATH>>
FLAGS:
-h, --help Prints help information

View File

@ -102,7 +102,7 @@ networked machine.
Next, configure the `solana` CLI tool to connect to a particular cluster:
```bash
solana set --url <CLUSTER URL> # (i.e. http://testnet.solana.com:8899)
solana config set --url <CLUSTER URL> # (i.e. http://testnet.solana.com:8899)
```
Finally, to check the balance, run the following command:

View File

@ -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: