Skip to content

Commit d9118b7

Browse files
Update README.md (#286)
1 parent 62e354d commit d9118b7

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

README.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,19 +104,27 @@ usage: TruffleHog git [<flags>] <uri>
104104
Find credentials in git repositories.
105105
106106
Flags:
107-
--help Show context-sensitive help (also try --help-long and --help-man).
108-
--debug Run in debug mode
109-
--json Output in JSON format.
110-
--concurrency=8 Number of concurrent workers.
111-
--verification Verify the results.
112-
-i, --include_paths=INCLUDE_PATHS
113-
Path to file with newline separated regexes for files to include in scan.
114-
-x, --exclude_paths=EXCLUDE_PATHS
115-
Path to file with newline separated regexes for files to exclude in scan.
116-
--branch=BRANCH Branch to scan.
117-
--allow No-op flag for backwards compat.
118-
--entropy No-op flag for backwards compat.
119-
--regex No-op flag for backwards compat.
107+
--help Show context-sensitive help (also try --help-long and --help-man).
108+
--debug Run in debug mode
109+
--version Prints trufflehog version.
110+
-j, --json Output in JSON format.
111+
--json-legacy Use the pre-v3.0 JSON format. Only works with git, gitlab, and github sources.
112+
--concurrency=1 Number of concurrent workers.
113+
--no-verification Don't verify the results.
114+
--only-verified Only output verified results.
115+
--print-avg-detector-time Print the average time spent on each detector.
116+
--no-update Don't check for updates.
117+
-i, --include-paths=INCLUDE-PATHS
118+
Path to file with newline separated regexes for files to include in scan.
119+
-x, --exclude-paths=EXCLUDE-PATHS
120+
Path to file with newline separated regexes for files to exclude in scan.
121+
--since-commit=SINCE-COMMIT
122+
Commit to start scan from.
123+
--branch=BRANCH Branch to scan.
124+
--max-depth=MAX-DEPTH Maximum depth of commits to scan.
125+
--allow No-op flag for backwards compat.
126+
--entropy No-op flag for backwards compat.
127+
--regex No-op flag for backwards compat.
120128
121129
Args:
122130
<uri> Git repository URL. https:// or file:// schema expected.

0 commit comments

Comments
 (0)