`solana set` => `solana config set`
This commit is contained in:
parent
356f246a74
commit
7e4c6ff218
|
@ -1183,7 +1183,7 @@ solana-set
|
||||||
Set a cli config setting
|
Set a cli config setting
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
solana set [FLAGS] [OPTIONS] <--url <URL>|--keypair <PATH>>
|
solana config set [FLAGS] [OPTIONS] <--url <URL>|--keypair <PATH>>
|
||||||
|
|
||||||
FLAGS:
|
FLAGS:
|
||||||
-h, --help Prints help information
|
-h, --help Prints help information
|
||||||
|
|
|
@ -102,7 +102,7 @@ networked machine.
|
||||||
Next, configure the `solana` CLI tool to connect to a particular cluster:
|
Next, configure the `solana` CLI tool to connect to a particular cluster:
|
||||||
|
|
||||||
```bash
|
```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:
|
Finally, to check the balance, run the following command:
|
||||||
|
|
|
@ -6,7 +6,7 @@ The solana cli includes `get` and `set` configuration commands to automatically
|
||||||
set the `--url` argument for cli commands. For example:
|
set the `--url` argument for cli commands. For example:
|
||||||
|
|
||||||
```bash
|
```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
|
\(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:
|
keypair for all following commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
solana set --keypair ~/validator-keypair.json
|
solana config set --keypair ~/validator-keypair.json
|
||||||
```
|
```
|
||||||
|
|
||||||
You should see the following output:
|
You should see the following output:
|
||||||
|
|
Loading…
Reference in New Issue