From 1a5b01676d534abbb93145ec893fb2a95e1a940a Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Mon, 23 Mar 2020 10:27:43 -0600 Subject: [PATCH] Remove equal sign separators from CLI options (#9021) automerge --- docs/src/cli/delegate-stake.md | 16 ++++++++-------- docs/src/cli/transfer-tokens.md | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/src/cli/delegate-stake.md b/docs/src/cli/delegate-stake.md index c8de7c0333..e60f993f59 100644 --- a/docs/src/cli/delegate-stake.md +++ b/docs/src/cli/delegate-stake.md @@ -33,7 +33,7 @@ want to perform an action on the stake account you create next. Now, create a stake account: ```bash -solana create-stake-account --from= stake-account.json --stake-authority= --withdraw-authority= +solana create-stake-account --from stake-account.json --stake-authority --withdraw-authority ``` `` tokens are transferred from the account at `` to a new @@ -72,7 +72,7 @@ Stake and withdraw authorities can be set when creating an account via the run: ```bash -solana stake-authorize --stake-authority= --new-stake-authority= +solana stake-authorize --stake-authority --new-stake-authority ``` This will use the existing stake authority `` to authorize a new stake @@ -87,7 +87,7 @@ addresses can be cumbersome. Fortunately, you can derive stake addresses using the `--seed` option: ```bash -solana create-stake-account --from= --seed= --stake-authority= --withdraw-authority= +solana create-stake-account --from --seed --stake-authority --withdraw-authority ``` `` is an arbitrary string up to 32 bytes, but will typically be a @@ -98,7 +98,7 @@ and seed string. To see what stake address the command will derive, use `solana create-address-with-seed`: ```bash -solana create-address-with-seed --from= STAKE +solana create-address-with-seed --from STAKE ``` `` is the public key of the `` passed to @@ -122,7 +122,7 @@ is the vote account address. Choose a validator and use its vote account address in `solana delegate-stake`: ```bash -solana delegate-stake --stake-authority= +solana delegate-stake --stake-authority ``` `` authorizes the operation on the account with address @@ -155,7 +155,7 @@ Once delegated, you can undelegate stake with the `solana deactivate-stake` command: ```bash -solana deactivate-stake --stake-authority= +solana deactivate-stake --stake-authority ``` `` authorizes the operation on the account with address @@ -169,7 +169,7 @@ in the cool down period will fail. Transfer tokens out of a stake account with the `solana withdraw-stake` command: ```bash -solana withdraw-stake --withdraw-authority= +solana withdraw-stake --withdraw-authority ``` `` is the existing stake account, `` is the @@ -184,7 +184,7 @@ currently staked, cooling down, or locked up. To transfer tokens from an existing stake account to a new one, use the `solana split-stake` command: ```bash -solana split-stake --stake-authority= +solana split-stake --stake-authority ``` `` is the existing stake account, `` is the diff --git a/docs/src/cli/transfer-tokens.md b/docs/src/cli/transfer-tokens.md index eb86893d06..b307899978 100644 --- a/docs/src/cli/transfer-tokens.md +++ b/docs/src/cli/transfer-tokens.md @@ -84,7 +84,7 @@ pubkey: GKvqsuNcnwWqPzzuhLmGi4rzzh55FhJtGizkhHaEJqiV ``` ```bash -solana transfer --from= 5 --url http://devnet.solana.com +solana transfer --from 5 --url http://devnet.solana.com ``` where you replace `` with the path to a keypair in your wallet, @@ -107,7 +107,7 @@ tokens to transfer. Once you have that collected, you can transfer tokens with the `solana transfer` command: ```bash -solana transfer --from= +solana transfer --from ``` Confirm the updated balances with `solana balance`: