Skip to content

Commit

Permalink
doc: add packageFiles argument to peer lifecycle chaincode install
Browse files Browse the repository at this point in the history
Signed-off-by: Juanma Muñoz <[email protected]>

Add packageFiles argument when presenting "peer lifecycle chaincode
install" help information

Resolves hyperledger#4976
  • Loading branch information
jmmunoz-kolokium committed Oct 7, 2024
1 parent 08972e4 commit 1b7d015
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/commands/peerlifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Global Flags:
Install a chaincode on a peer.
Usage:
peer lifecycle chaincode install [flags]
peer lifecycle chaincode install [packageFiles] [flags]
Flags:
--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
Expand Down
2 changes: 1 addition & 1 deletion internal/peer/lifecycle/chaincode/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (i *InstallInput) Validate() error {
// InstallCmd returns the cobra command for chaincode install.
func InstallCmd(i *Installer, cryptoProvider bccsp.BCCSP) *cobra.Command {
chaincodeInstallCmd := &cobra.Command{
Use: "install",
Use: "install [packageFile]",
Short: "Install a chaincode.",
Long: "Install a chaincode on a peer.",
ValidArgs: []string{"1"},
Expand Down

0 comments on commit 1b7d015

Please sign in to comment.