diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-29 21:18:34 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-30 06:57:55 +0800 |
commit | 5f3792c2a750dd95adeccbd5cf0cb19ecddfb43f (patch) | |
tree | b2967ce1ed56ae19660319e8bb7a849698187a74 /cmd/geth | |
parent | 01fe97211354d13ecaba8a52c82b808b7a7e8393 (diff) | |
download | go-tangerine-5f3792c2a750dd95adeccbd5cf0cb19ecddfb43f.tar go-tangerine-5f3792c2a750dd95adeccbd5cf0cb19ecddfb43f.tar.gz go-tangerine-5f3792c2a750dd95adeccbd5cf0cb19ecddfb43f.tar.bz2 go-tangerine-5f3792c2a750dd95adeccbd5cf0cb19ecddfb43f.tar.lz go-tangerine-5f3792c2a750dd95adeccbd5cf0cb19ecddfb43f.tar.xz go-tangerine-5f3792c2a750dd95adeccbd5cf0cb19ecddfb43f.tar.zst go-tangerine-5f3792c2a750dd95adeccbd5cf0cb19ecddfb43f.zip |
cmd/geth: decent error message if metrics are disabled
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/monitorcmd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/monitorcmd.go b/cmd/geth/monitorcmd.go index 6a7e1cbb4..6593b3614 100644 --- a/cmd/geth/monitorcmd.go +++ b/cmd/geth/monitorcmd.go @@ -79,7 +79,7 @@ func monitor(ctx *cli.Context) { if len(list) > 0 { utils.Fatalf("No metrics specified.\n\nAvailable:\n - %s", strings.Join(list, "\n - ")) } else { - utils.Fatalf("No metrics specified.\n\nNo metrics collected (--metrics)\n") + utils.Fatalf("No metrics collected by geth (--%s).\n", utils.MetricsEnabledFlag.Name) } } sort.Strings(monitored) |