Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lifecycle/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions utils/cliutils/commandsflags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading