Skip to content

Commit 15d5a2b

Browse files
committed
fix: fix issues from code review
Signed-off-by: Simon Gellis <[email protected]>
1 parent 1cd9511 commit 15d5a2b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cmd/init.go

-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ func init() {
327327
initCmd.Flags().StringVar(&initOptions.ContractAddress, "contract-address", "", "Do not automatically deploy a contract, instead use a pre-configured address")
328328
initCmd.Flags().StringVar(&initOptions.RemoteNodeURL, "remote-node-url", "", "For cases where the node is pre-existing and running remotely")
329329
initCmd.Flags().Int64Var(&initOptions.ChainID, "chain-id", 2021, "The chain ID (Ethereum only) - also used as the network ID")
330-
initCmd.Flags().StringVar(&initOptions.Network, "network", "mainnet", "The network to connect to (Cardano only)")
331330
initCmd.PersistentFlags().IntVar(&initOptions.RequestTimeout, "request-timeout", 0, "Custom request timeout (in seconds) - useful for registration to public chains")
332331
initCmd.PersistentFlags().StringVar(&initOptions.ReleaseChannel, "channel", "stable", fmt.Sprintf("Select the FireFly release channel to use. Options are: %v", fftypes.FFEnumValues(types.ReleaseChannelSelection)))
333332
initCmd.PersistentFlags().BoolVar(&initOptions.MultipartyEnabled, "multiparty", true, "Enable or disable multiparty mode")

cmd/init_cardano.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
)
2929

3030
var initCardanoCmd = &cobra.Command{
31-
Use: "cardano [stack_name] [member_count]",
31+
Use: "cardano [stack_name]",
3232
Short: "Create a new FireFly local dev stack using a Cardano blockchain",
3333
Long: "Create a new FireFly local dev stack using a Cardano blockchain",
3434
Args: cobra.MaximumNArgs(3),

0 commit comments

Comments
 (0)