소스 검색

removing private opts

zach rice 7 년 전
부모
커밋
94389137e8
2개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      README.md
  2. 0 1
      main.go

+ 0 - 1
README.md

@@ -68,7 +68,6 @@ Application Options:
       --github-org=    Github organization to audit
       --github-org=    Github organization to audit
       --github-url=    GitHub API Base URL, use for GitHub Enterprise. Example: https://github.example.com/api/v3/ (default: https://api.github.com/)
       --github-url=    GitHub API Base URL, use for GitHub Enterprise. Example: https://github.example.com/api/v3/ (default: https://api.github.com/)
       --github-pr=     Github PR url to audit. This does not clone the repo. GITHUB_TOKEN must be set
       --github-pr=     Github PR url to audit. This does not clone the repo. GITHUB_TOKEN must be set
-  -p, --private        Include private repos in audit
   -b, --branch=        branch name to audit (defaults to HEAD)
   -b, --branch=        branch name to audit (defaults to HEAD)
   -c, --commit=        sha of commit to stop at
   -c, --commit=        sha of commit to stop at
       --depth=         maximum commit depth
       --depth=         maximum commit depth

+ 0 - 1
main.go

@@ -372,7 +372,6 @@ func cloneRepo() (*RepoDescriptor, error) {
 				Progress: os.Stdout,
 				Progress: os.Stdout,
 				Auth:     sshAuth,
 				Auth:     sshAuth,
 			})
 			})
-
 		} else {
 		} else {
 			repo, err = git.PlainClone(cloneTarget, false, &git.CloneOptions{
 			repo, err = git.PlainClone(cloneTarget, false, &git.CloneOptions{
 				URL:      opts.Repo,
 				URL:      opts.Repo,