Skip to content

Commit d9f93b0

Browse files
author
Rasheed Abdul-Aziz
committed
describe the owner parameter for azure everywhere
1 parent d95f2d9 commit d9f93b0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

pkg/cmd/pr/close/close.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func NewCmdClosePullRequest() (*cobra.Command, *Options) {
6969
}
7070
o.Options.AddFlags(cmd)
7171

72-
cmd.Flags().StringVarP(&o.Owner, "owner", "o", "", "the owner of the repository that contains pull requests to close. Either an organisation or username")
72+
cmd.Flags().StringVarP(&o.Owner, "owner", "o", "", "the owner of the repository that contains pull requests to close. Either an organisation or username. For Azure, include the project: 'organization/project'")
7373
cmd.Flags().StringVarP(&o.Name, "name", "r", "", "the name of the repository that contains pull requests to close")
7474

7575
cmd.Flags().IntVarP(&o.PR, "pr", "", 0, "the pull request to close")

pkg/cmd/pr/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func NewCmdCreatePullRequest() (*cobra.Command, *Options) {
7878
}
7979
o.Options.AddFlags(cmd)
8080

81-
cmd.Flags().StringVarP(&o.Owner, "owner", "o", "", "the owner of the repository. Either an organisation or username. In Azure's case, organization/project name")
81+
cmd.Flags().StringVarP(&o.Owner, "owner", "o", "", "the owner of the repository. Either an organisation or username. For Azure, include the project: 'organization/project'")
8282
cmd.Flags().StringVarP(&o.Name, "name", "r", "", "the name of the repository")
8383

8484
cmd.Flags().StringVarP(&o.Title, "title", "", "", "the title of the new pull request")

pkg/cmd/release/update/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func NewCmdUpdateRelease() (*cobra.Command, *Options) {
6060
}
6161
o.Options.AddFlags(cmd)
6262

63-
cmd.Flags().StringVarP(&o.Owner, "owner", "o", "", "the owner of the repository to update. Either an organisation or username")
63+
cmd.Flags().StringVarP(&o.Owner, "owner", "o", "", "the owner of the repository to update. Either an organisation or username. For Azure, include the project: 'organization/project'")
6464
cmd.Flags().StringVarP(&o.Name, "name", "r", "", "the name of the repository to update")
6565
cmd.Flags().StringVarP(&o.Tag, "tag", "", "", "the tag of the release to update")
6666

pkg/cmd/repository/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func NewCmdCreateRepository() (*cobra.Command, *Options) {
6969
},
7070
}
7171

72-
cmd.Flags().StringVarP(&o.Owner, "owner", "o", "", "the owner of the repository to create. Either an organisation or username")
72+
cmd.Flags().StringVarP(&o.Owner, "owner", "o", "", "the owner of the repository to create. Either an organisation or username. For Azure, include the project: 'organization/project'")
7373
cmd.Flags().StringVarP(&o.Name, "name", "n", "", "the name of the repository to create")
7474
cmd.Flags().StringVarP(&o.Description, "description", "d", "", "the repository description")
7575
cmd.Flags().StringVarP(&o.HomePage, "home-page", "", "", "the repository home page")

pkg/cmd/repository/remove/remove.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func NewCmdRemoveRepository() (*cobra.Command, *Options) {
7474
}
7575
o.Factory.AddFlags(cmd)
7676

77-
cmd.Flags().StringVarP(&o.Owner, "owner", "o", "", "the owner of the repository to create. Either an organisation or username")
77+
cmd.Flags().StringVarP(&o.Owner, "owner", "o", "", "the owner of the repository to create. Either an organisation or username. For Azure, include the project: 'organization/project'")
7878
cmd.Flags().StringVarP(&o.Name, "name", "n", "", "the name of the repository to create")
7979
cmd.Flags().StringVarP(&o.CreatedBefore, "created-before", "", "", "the time expression for removing repositories created before this time")
8080
cmd.Flags().IntVarP(&o.CreatedDaysAgo, "created-days-ago", "", 0, "remove repositories created more than this number of days ago")

0 commit comments

Comments
 (0)