cmd/swarm: prepare enabling testnet flag for swarm node

This commit is contained in:
5chdn 2017-01-15 20:21:23 +01:00
parent da2a22c384
commit f9232e7094

View file

@ -1,4 +1,4 @@
// Copyright 2016 The go-ethereum Authors // Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum. // This file is part of go-ethereum.
// //
// go-ethereum is free software: you can redistribute it and/or modify // go-ethereum is free software: you can redistribute it and/or modify
@ -127,7 +127,7 @@ func init() {
// Set up the cli app. // Set up the cli app.
app.Action = bzzd app.Action = bzzd
app.HideVersion = true // we have a command to print the version app.HideVersion = true // we have a command to print the version
app.Copyright = "Copyright 2013-2016 The go-ethereum Authors" app.Copyright = "Copyright 2013-2017 The go-ethereum Authors"
app.Commands = []cli.Command{ app.Commands = []cli.Command{
{ {
Action: version, Action: version,
@ -163,6 +163,7 @@ Prints the swarm hash of file or directory.
utils.DataDirFlag, utils.DataDirFlag,
utils.BootnodesFlag, utils.BootnodesFlag,
utils.KeyStoreDirFlag, utils.KeyStoreDirFlag,
utils.TestNetFlag,
utils.ListenPortFlag, utils.ListenPortFlag,
utils.NoDiscoverFlag, utils.NoDiscoverFlag,
utils.DiscoveryV5Flag, utils.DiscoveryV5Flag,