diff --git a/cmd/flags.go b/cmd/flags.go index 5406561ba70cade7dd1cd260ee5d12c4d55b8283..1ccac2b7024fca58301fbda0b6b986e47d3022ae 100644 --- a/cmd/flags.go +++ b/cmd/flags.go @@ -12,8 +12,9 @@ package cmd // flags for any existing or new subcommands should be listed and organized // here. Pulling flags using Viper should use the constants defined here. // todo: fill this with all existing flags, replace hardcoded references with -// these constants. This makes renaming them easier, as well as having -// a consolidated place in code for these flags. +// +// these constants. This makes renaming them easier, as well as having +// a consolidated place in code for these flags. const ( //////////////// Root flags /////////////////////////////////////////////// @@ -85,7 +86,7 @@ const ( legacyFlag = "legacy" ///////////////// Broadcast subcommand flags ////////////////////////////// - broadcastNameFlag = "name" + broadcastNameFlag = "channelName" broadcastRsaPubFlag = "rsaPub" broadcastSaltFlag = "salt" broadcastDescriptionFlag = "description"