Skip to content

Commit

Permalink
Fix mspid description
Browse files Browse the repository at this point in the history
Signed-off-by: James Taylor <jamest@uk.ibm.com>
  • Loading branch information
jt-nti committed Mar 21, 2022
1 parent 38c7955 commit 6684fa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Get metadata for the specified chaincode name
-k, --key string
private key file
-m, --mspid string
private key file, e.g. Org1MSP
membership service provider name, e.g. Org1MSP
-p, --connection string
connection profile file
-n, --channel string
Expand Down
6 changes: 3 additions & 3 deletions cmd/ccmetadata/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func usage() {

fmt.Fprintf(os.Stderr, " -c, --cert string\n certificate file\n")
fmt.Fprintf(os.Stderr, " -k, --key string\n private key file\n")
fmt.Fprintf(os.Stderr, " -m, --mspid string\n private key file, e.g. Org1MSP\n")
fmt.Fprintf(os.Stderr, " -m, --mspid string\n membership service provider name, e.g. Org1MSP\n")
fmt.Fprintf(os.Stderr, " -p, --connection string\n connection profile file\n")
fmt.Fprintf(os.Stderr, " -n, --channel string\n channel name, e.g. mychannel\n")
fmt.Fprintf(os.Stderr, " -l, --aslocalhost\n use discovery service as localhost\n")
Expand All @@ -42,8 +42,8 @@ func main() {
flag.StringVar(&certPath, "c", "", "certificate file")
flag.StringVar(&keyPath, "key", "", "private key file")
flag.StringVar(&keyPath, "k", "", "private key file")
flag.StringVar(&mspid, "mspid", "", "private key file, e.g. Org1MSP")
flag.StringVar(&mspid, "m", "", "private key file, e.g. Org1MSP")
flag.StringVar(&mspid, "mspid", "", "membership service provider name, e.g. Org1MSP")
flag.StringVar(&mspid, "m", "", "membership service provider name, e.g. Org1MSP")
flag.StringVar(&ccpPath, "connection", "", "connection profile file")
flag.StringVar(&ccpPath, "p", "", "connection profile file")
flag.StringVar(&channelName, "channel", "", "channel name, e.g. mychannel")
Expand Down

0 comments on commit 6684fa1

Please sign in to comment.