Skip to content

Commit

Permalink
Add explanation of stringArray
Browse files Browse the repository at this point in the history
Signed-off-by: QQ喵 <gqqnb2005@gmail.com>
  • Loading branch information
gqqnbig authored and denyeart committed Nov 1, 2021
1 parent 89da86e commit abdb330
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/commands/peerchaincode.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ flags are

Transient map of arguments in JSON encoding

Flags of type stringArray are to be repeated rather than concatenating their
values. For example, you will use `--peerAddresses localhost:9051
--peerAddresses localhost:7051` rather than `--peerAddresses "localhost:9051
localhost:7051"`.

## peer chaincode install
```
Install a chaincode on a peer. This installs a chaincode deployment spec package (if provided) or packages the specified chaincode before subsequently installing it.
Expand Down
5 changes: 5 additions & 0 deletions docs/wrappers/peer_chaincode_preamble.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,8 @@ flags are
* `--transient <string>`

Transient map of arguments in JSON encoding

Flags of type stringArray are to be repeated rather than concatenating their
values. For example, you will use `--peerAddresses localhost:9051
--peerAddresses localhost:7051` rather than `--peerAddresses "localhost:9051
localhost:7051"`.

0 comments on commit abdb330

Please sign in to comment.