Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: add packageFile argument in peer lifecycle chaincode install help command #5011

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 [packageFile] [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
Loading