From 08d817c4cf9feb75012d7257b6915c53390fd659 Mon Sep 17 00:00:00 2001 From: Will Lahti Date: Fri, 9 Mar 2018 08:55:50 -0500 Subject: [PATCH] [FAB-8731] Clarify CLI cc install doc for node cc This CR clarifies the usage of the path flag when installing a node chaincode using the peer CLI. Change-Id: I13a6a6aac5ee2c022d52ce04fdfc462f6b7a33cc Signed-off-by: Will Lahti (cherry picked from commit 5bf93a89fe58313fcd1c320e3d6f86a78b9cef71) --- docs/source/commands/peerchaincode.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/source/commands/peerchaincode.md b/docs/source/commands/peerchaincode.md index 66d5150e7d8..41a485fae69 100644 --- a/docs/source/commands/peerchaincode.md +++ b/docs/source/commands/peerchaincode.md @@ -121,7 +121,10 @@ The `peer chaincode install` command has the following command-specific flags: * `-p, --path ` - Path, relative to the GOPATH, to the chaincode that is being installed + Path to the chaincode that is being installed. For Golang (-l golang) chaincodes, this + is the path relative to the GOPATH. For Node.js (-l node) chaincodes, this is either the + absolute path or the relative path from where the install command is being + performed * `-v, --version ` @@ -648,7 +651,7 @@ The `peer chaincode upgrade` command has the following command-specific flags: * `-P, --policy ` - Endorsement policy associated to this chaincode. By default fabric + Endorsement policy associated to this chaincode. By default fabric will generate an endorsement policy equivalent to "any member from the organizations currently in the channel"