diff --git a/README.md b/README.md index f0a185e..97b3c53 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/cmd/ccmetadata/main.go b/cmd/ccmetadata/main.go index 531454e..acee270 100644 --- a/cmd/ccmetadata/main.go +++ b/cmd/ccmetadata/main.go @@ -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") @@ -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")