From 94389137e899518337849e2ab9aea8b2be3a451d Mon Sep 17 00:00:00 2001 From: zach rice Date: Wed, 24 Oct 2018 16:00:15 -0500 Subject: [PATCH] removing private opts --- README.md | 1 - main.go | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index cb3eebda..d09df559 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,6 @@ Application Options: --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-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) -c, --commit= sha of commit to stop at --depth= maximum commit depth diff --git a/main.go b/main.go index 92ba028c..c142db23 100644 --- a/main.go +++ b/main.go @@ -372,7 +372,6 @@ func cloneRepo() (*RepoDescriptor, error) { Progress: os.Stdout, Auth: sshAuth, }) - } else { repo, err = git.PlainClone(cloneTarget, false, &git.CloneOptions{ URL: opts.Repo,