From 1992282ce4d16d124bd25505620800f0ac2a687e Mon Sep 17 00:00:00 2001 From: Wolfgang Welz <welzwo@gmail.com> Date: Mon, 25 Nov 2019 18:42:05 +0100 Subject: [PATCH] Fix flag names in usage --- plugins/cli/cli.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/cli/cli.go b/plugins/cli/cli.go index a76b94bc..8184b35d 100644 --- a/plugins/cli/cli.go +++ b/plugins/cli/cli.go @@ -41,7 +41,7 @@ func printUsage() { ) flag.PrintDefaults() - fmt.Fprintf(os.Stderr, "\nThe following plugins are enabled by default and can be disabled with -%s:\n %s\n", node.CFG_DISABLE_PLUGINS, getList(enabledPlugins)) - fmt.Fprintf(os.Stderr, "The following plugins are disabled by default and can be enabled with -%s:\n %s\n", node.CFG_ENABLE_PLGUINS, getList(disabledPlugins)) + fmt.Fprintf(os.Stderr, "\nThe following plugins are enabled by default and can be disabled with --%s:\n %s\n", node.CFG_DISABLE_PLUGINS, getList(enabledPlugins)) + fmt.Fprintf(os.Stderr, "The following plugins are disabled by default and can be enabled with --%s:\n %s\n", node.CFG_ENABLE_PLGUINS, getList(disabledPlugins)) fmt.Fprintf(os.Stderr, "The enabled/disabled plugins can be overridden by altering %s/%s inside config.json\n\n", node.CFG_ENABLE_PLGUINS, node.CFG_DISABLE_PLUGINS) } -- GitLab