From a31242df9ee3e65c8be79fa43ee52e95e34255df Mon Sep 17 00:00:00 2001 From: Axetroy Date: Sun, 3 Oct 2021 12:20:16 +0800 Subject: [PATCH] chore: update --- README.md | 4 ++++ README_zh-CN.md | 4 ++++ cmd/whatchanged/main.go | 1 + 3 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 7c995ec2..9fa473ad 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,10 @@ OPTIONS: --project=/path/to/project/which/contains/.git/folder --project=https://github.com/whatchanged-community/whatchanged.git Defaults to "--project=$PWD". + + --branch Specify clone branch. only works for remote git project. + Defaults to "--branch=master" + --output Write output to file. default write to stdout. --fmt Specify the changelog format. Available options: diff --git a/README_zh-CN.md b/README_zh-CN.md index 2d746e58..798747a9 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -56,6 +56,10 @@ OPTIONS: --project=/path/to/project/which/contains/.git/folder --project=https://github.com/whatchanged-community/whatchanged.git Defaults to "--project=$PWD". + + --branch Specify clone branch. only works for remote git project. + Defaults to "--branch=master" + --output Write output to file. default write to stdout. --fmt Specify the changelog format. Available options: diff --git a/cmd/whatchanged/main.go b/cmd/whatchanged/main.go index f640d0e8..17e3e9ba 100644 --- a/cmd/whatchanged/main.go +++ b/cmd/whatchanged/main.go @@ -46,6 +46,7 @@ OPTIONS: Defaults to "--project=$PWD". --branch Specify clone branch. only works for remote git project. + Defaults to "--branch=master" --output Write output to file. default write to stdout.