aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/puppeth.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/puppeth/puppeth.go')
-rw-r--r--cmd/puppeth/puppeth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/puppeth/puppeth.go b/cmd/puppeth/puppeth.go
index f9b8fe481..df3fff51b 100644
--- a/cmd/puppeth/puppeth.go
+++ b/cmd/puppeth/puppeth.go
@@ -49,8 +49,8 @@ func main() {
rand.Seed(time.Now().UnixNano())
network := c.String("network")
- if strings.Contains(network, " ") || strings.Contains(network, "-") {
- log.Crit("No spaces or hyphens allowed in network name")
+ if strings.Contains(network, " ") || strings.Contains(network, "-") || strings.ToLower(network) != network {
+ log.Crit("No spaces, hyphens or capital letters allowed in network name")
}
// Start the wizard and relinquish control
makeWizard(c.String("network")).run()