mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
updated MISCCMD.GO
This commit is contained in:
parent
875820f769
commit
840fcb171c
1 changed files with 5 additions and 5 deletions
|
|
@ -80,7 +80,7 @@ The output of this command is supposed to be machine-readable.
|
||||||
func makecache(ctx *cli.Context) error {
|
func makecache(ctx *cli.Context) error {
|
||||||
args := ctx.Args()
|
args := ctx.Args()
|
||||||
if len(args) != 2 {
|
if len(args) != 2 {
|
||||||
utils.Fatalf(`Usage: geth makecache <block number> <outputdir>`)
|
utils.Fatalf(`Usage: XDC makecache <block number> <outputdir>`)
|
||||||
}
|
}
|
||||||
block, err := strconv.ParseUint(args[0], 0, 64)
|
block, err := strconv.ParseUint(args[0], 0, 64)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
@ -95,7 +95,7 @@ func makecache(ctx *cli.Context) error {
|
||||||
func makedag(ctx *cli.Context) error {
|
func makedag(ctx *cli.Context) error {
|
||||||
args := ctx.Args()
|
args := ctx.Args()
|
||||||
if len(args) != 2 {
|
if len(args) != 2 {
|
||||||
utils.Fatalf(`Usage: geth makedag <block number> <outputdir>`)
|
utils.Fatalf(`Usage: XDC makedag <block number> <outputdir>`)
|
||||||
}
|
}
|
||||||
block, err := strconv.ParseUint(args[0], 0, 64)
|
block, err := strconv.ParseUint(args[0], 0, 64)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
@ -123,17 +123,17 @@ func version(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func license(_ *cli.Context) error {
|
func license(_ *cli.Context) error {
|
||||||
fmt.Println(`Geth is free software: you can redistribute it and/or modify
|
fmt.Println(`XDC is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
Geth is distributed in the hope that it will be useful,
|
XDC is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with geth. If not, see <http://www.gnu.org/licenses/>.`)
|
along with XDC. If not, see <http://www.gnu.org/licenses/>.`)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue