From 8f46955ad01035212f21d64c7947b7284590739a Mon Sep 17 00:00:00 2001 From: Leonard Goodell Date: Wed, 26 Apr 2023 11:00:38 -0700 Subject: [PATCH] feat: Document new -d/--dev command-line flag Signed-off-by: Leonard Goodell --- .../configuration/CommonCommandLineOptions.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs_src/microservices/configuration/CommonCommandLineOptions.md b/docs_src/microservices/configuration/CommonCommandLineOptions.md index 8300c870d3..d52517b5b0 100644 --- a/docs_src/microservices/configuration/CommonCommandLineOptions.md +++ b/docs_src/microservices/configuration/CommonCommandLineOptions.md @@ -73,9 +73,21 @@ Can be overridden with [EDGEX_USE_REGISTRY](./CommonEnvironmentVariables.md#edge Overwrite configuration in provider with local configuration. -!!! cation "Use with cation" +!!! caution "Use with cation" This will clobber existing settings in provider, problematic if those settings were edited by hand intentionally. Typically only used during development. +## Developer Mode + +!!! edgey "EdgeX 3.0" + New in EdgeX 3.0 + +`-d/--dev` + +Indicates service should run in developer mode. The allows the service running from command-line to properly communicate with other EdgeX services running in Docker (aka hybrid mode). This flag cause all `Host` configuration values pulled from common configuration via the Configuration Provider to be overridden with the value "localhost". + +!!! caution "Development Only" + This flag should only be used for development purposes when running from command-line. + ## Help `-h/--help`