Skip to content

Commit d9ca702

Browse files
jmmunoz-kolokiumsatota2
authored andcommitted
doc: add packageFiles argument to peer lifecycle chaincode install
Signed-off-by: Juanma Muñoz <[email protected]> Add packageFiles argument when presenting "peer lifecycle chaincode install" help information Resolves #4976
1 parent f1f82a2 commit d9ca702

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/commands/peerlifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Global Flags:
116116
Install a chaincode on a peer.
117117
118118
Usage:
119-
peer lifecycle chaincode install [flags]
119+
peer lifecycle chaincode install [packageFile] [flags]
120120
121121
Flags:
122122
--connectionProfile string The fully qualified path to the connection profile that provides the necessary connection information for the network. Note: currently only supported for providing peer connection information

internal/peer/lifecycle/chaincode/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (i *InstallInput) Validate() error {
5555
// InstallCmd returns the cobra command for chaincode install.
5656
func InstallCmd(i *Installer, cryptoProvider bccsp.BCCSP) *cobra.Command {
5757
chaincodeInstallCmd := &cobra.Command{
58-
Use: "install",
58+
Use: "install [packageFile]",
5959
Short: "Install a chaincode.",
6060
Long: "Install a chaincode on a peer.",
6161
ValidArgs: []string{"1"},

0 commit comments

Comments
 (0)