From bf2837fa984ceaa63d8ee18233cdef627e5adea1 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Thu, 21 Dec 2023 12:41:37 -0500 Subject: [PATCH] reword quickstart messages --- ziti/cmd/edge/quickstart.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ziti/cmd/edge/quickstart.go b/ziti/cmd/edge/quickstart.go index 63ef709c6..b201fb84e 100644 --- a/ziti/cmd/edge/quickstart.go +++ b/ziti/cmd/edge/quickstart.go @@ -65,7 +65,7 @@ func NewQuickStartCmd(out io.Writer, errOut io.Writer, context context.Context) cmd := &cobra.Command{ Use: "quickstart", Short: "runs a Controller and Router in quickstart mode", - Long: "runs a Controller and Router as a single process; state is deleted on exit unless --home", + Long: "runs a Controller and Router in quickstart mode with a temporary Ziti home directory; suitable for testing and development", Run: func(cmd *cobra.Command, args []string) { options.out = out options.errOut = errOut @@ -75,7 +75,7 @@ func NewQuickStartCmd(out io.Writer, errOut io.Writer, context context.Context) cmd.Flags().StringVarP(&options.Username, "username", "u", "", "Username to use when creating the Ziti Edge Controller. default: admin") cmd.Flags().StringVarP(&options.Password, "password", "p", "", "Password to use for authenticating to the Ziti Edge Controller. default: admin") - cmd.Flags().StringVar(&options.Home, "home", "", "persistent state directory") + cmd.Flags().StringVar(&options.Home, "home", "", "permanent Ziti home directory") cmd.Flags().StringVar(&options.ControllerAddress, "ctrl-address", "", "Sets the advertised address for the control plane and API. current: "+currentCtrlAddy) cmd.Flags().Int16Var(&options.ControllerPort, "ctrl-port", int16(defautlCtrlPort), "Sets the port to use for the control plane and API. current: "+currentCtrlPort) @@ -100,7 +100,7 @@ func (o *QuickstartOpts) run(ctx context.Context) { o.Home = tmpDir o.cleanOnExit = true } else { - logrus.Infof("persistent state dir '%s' will not be removed on exit", o.Home) + logrus.Infof("permanent Ziti --home '%s' will not be removed on exit", o.Home) } if o.ControllerAddress != "" { _ = os.Setenv(constants.CtrlAdvertisedAddressVarName, o.ControllerAddress)