Skip to content

Commit 0d8a154

Browse files
authored
Add ssh:/ URI to docs (#732)
1 parent 3131253 commit 0d8a154

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Flags:
135135
--regex No-op flag for backwards compat.
136136
137137
Args:
138-
<uri> Git repository URL. https:// or file:// schema expected.
138+
<uri> Git repository URL. https://, file://, or ssh:// schema expected.
139139
```
140140

141141
For example, to scan a `git` repository, start with

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var (
4646
fail = cli.Flag("fail", "Exit with code 183 if results are found.").Bool()
4747

4848
gitScan = cli.Command("git", "Find credentials in git repositories.")
49-
gitScanURI = gitScan.Arg("uri", "Git repository URL. https:// or file:// schema expected.").Required().String()
49+
gitScanURI = gitScan.Arg("uri", "Git repository URL. https://, file://, or ssh:// schema expected.").Required().String()
5050
gitScanIncludePaths = gitScan.Flag("include-paths", "Path to file with newline separated regexes for files to include in scan.").Short('i').String()
5151
gitScanExcludePaths = gitScan.Flag("exclude-paths", "Path to file with newline separated regexes for files to exclude in scan.").Short('x').String()
5252
gitScanSinceCommit = gitScan.Flag("since-commit", "Commit to start scan from.").String()

0 commit comments

Comments
 (0)