Skip to content
Snippets Groups Projects
Commit 1992282c authored by Wolfgang Welz's avatar Wolfgang Welz
Browse files

Fix flag names in usage

parent a144ec13
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ func printUsage() { ...@@ -41,7 +41,7 @@ func printUsage() {
) )
flag.PrintDefaults() 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, "\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 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) 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)
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment