diff --git a/lifecycle/cli.go b/lifecycle/cli.go index 92a7a5d0e..b47731934 100644 --- a/lifecycle/cli.go +++ b/lifecycle/cli.go @@ -371,7 +371,7 @@ func createLifecycleDetailsByFlags(c *cli.Context) (*coreConfig.ServerDetails, e return nil, err } if lcDetails.Url == "" { - return nil, errors.New("no JFrog Platform URL specified, either via the --url flag or as part of the server configuration") + return nil, errors.New("platform URL is mandatory for lifecycle commands") } PlatformToLifecycleUrls(lcDetails) return lcDetails, nil diff --git a/utils/cliutils/commandsflags.go b/utils/cliutils/commandsflags.go index ed38ec66c..446f84eff 100644 --- a/utils/cliutils/commandsflags.go +++ b/utils/cliutils/commandsflags.go @@ -1630,9 +1630,9 @@ var flagsMap = map[string]cli.Flag{ Name: PreChecks, Usage: "[Default: false] Set to true to run pre-transfer checks.` `", }, - lcSync: cli.BoolFlag{ + lcSync: cli.BoolTFlag{ Name: Sync, - Usage: "[Default: false] Set to true to run synchronously.` `", + Usage: "[Default: true] Set to false to run asynchronously.` `", }, lcProject: cli.StringFlag{ Name: Project,