Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli into add_set…
Browse files Browse the repository at this point in the history
…up_cli_usage
  • Loading branch information
EyalDelarea committed Nov 13, 2024
2 parents bbd0021 + da81635 commit 33119cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 33119cb

Please sign in to comment.