Skip to content

Commit

Permalink
[FAB-10071] Peer channel
Browse files Browse the repository at this point in the history
Updating help text for
peer channel create command
indicating that the channel name
must be all lower case

Change-Id: I3c5520d57ea3ab3f4576e04f77e49bb22e9ad33a
Signed-off-by: pama-ibm <[email protected]>
  • Loading branch information
pamandrejko committed May 17, 2018
1 parent e3a2b75 commit 77c3598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peer/channel/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func resetFlags() {
flags = &pflag.FlagSet{}

flags.StringVarP(&genesisBlockPath, "blockpath", "b", common.UndefinedParamValue, "Path to file containing genesis block")
flags.StringVarP(&channelID, "channelID", "c", common.UndefinedParamValue, "In case of a newChain command, the channel ID to create.")
flags.StringVarP(&channelID, "channelID", "c", common.UndefinedParamValue, "In case of a newChain command, the channel ID to create. It must be all lower case, less than 250 characters long and match the regular expression: [a-z][a-z0-9.-]*")
flags.StringVarP(&channelTxFile, "file", "f", "", "Configuration transaction file generated by a tool such as configtxgen for submitting to orderer")
flags.StringVarP(&outputBlock, "outputBlock", "", common.UndefinedParamValue, `The path to write the genesis block for the channel. (default ./<channelID>.block)`)
flags.IntVarP(&timeout, "timeout", "t", 5, "Channel creation timeout")
Expand Down

0 comments on commit 77c3598

Please sign in to comment.