diff --git a/README.md b/README.md index a7ed3cc..f140f7a 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ gen-pr "title" "Mieraidihaimu/GeneratePR/issues/1" -e "no need to panic" --fix - then you can sit back and relex. -To learn more please use `--help` or visit `https://github.com/Mieraidihaimu/GeneratePR` +To learn more please use `gen-pr --help` or visit `https://github.com/Mieraidihaimu/GeneratePR` ## 🌝 Contribute diff --git a/Sources/GeneratePR/CreatePRCommand.swift b/Sources/GeneratePR/CreatePRCommand.swift index fcfdb4e..6e3b381 100644 --- a/Sources/GeneratePR/CreatePRCommand.swift +++ b/Sources/GeneratePR/CreatePRCommand.swift @@ -35,12 +35,12 @@ struct CreatePRCommand: ParsableCommand { var extra: String? @Option(name: [.customLong("base-branch"), .customShort("b")], help: "The base branch which the pull requests will be open to, default is main") - var baseBranch: String = "main" + var baseBranch: String = "master" @Flag(help: "The PR type: is it a feature or bug fix PR?. Default value is feature PR.") var type: PRType = .feature - @Argument(help: "Linked github issue path. For instance, in issue URL https://github.com/randomX/repoY/issues/1060, the `randomX/repoY/issues/1060` is the issue path") + @Argument(help: "Linked cookpad github issue id. For instance, in issue URL https://github.com/cookpad/product-delivery/issues/1060, the `1060` is the issue id") var issue: String @Flag(name: [.customLong("verbose"), .customShort("v")], help: "Show logs, information and non blocking messages.") diff --git a/Sources/GeneratePR/Helper/CommandHelper.swift b/Sources/GeneratePR/Helper/CommandHelper.swift index 81a1123..52f8034 100644 --- a/Sources/GeneratePR/Helper/CommandHelper.swift +++ b/Sources/GeneratePR/Helper/CommandHelper.swift @@ -12,7 +12,7 @@ struct CommandHelper { """ # Related links - close https://github.com/%1$@ + close https://github.com/cookpad/product-delivery/issues/%1$@ # Why? @@ -39,7 +39,7 @@ struct CommandHelper { """ # Related links - https://github.com/%1$@ + https://github.com/cookpad/product-delivery/issues/%1$@ # Why?