newrelic / rusty-hog

A suite of secret scanners built in Rust for performance. Based on TruffleHog (https://github.com/dxa4481/truffleHog) which is written in Python.
Apache License 2.0
453 stars 59 forks source link

Readme documents old --recursive flag instead of --norecursive #23

Closed jasonjkeller closed 4 years ago

jasonjkeller commented 4 years ago

Description

Looks like duroc_hog behavior was changed such that it is recursive by default but the readme and various other files still refer to the old --recursive flag instead of the new --norecursive flag.

Steps to Reproduce

Running duroc_hog with the latest binaries and the documented recursive flag yields the following error:

./duroc_hog --recursive --prettyprint /path/to/repo
error: Found argument '--recursive' which wasn't expected, or isn't valid in this context
    Did you mean --norecursive?

USAGE:
    duroc_hog <FSPATH> --norecursive

For more information try --help

Expected Behaviour

README documentation matches execution behavior.

Relevant Logs / Console output

See above.

Your Environment

      System Version: macOS 10.15.6 (19G73)
      Kernel Version: Darwin 19.6.0
      Boot Volume: Macintosh HD

Additional context

None

cutler-scott-newrelic commented 4 years ago

Finished. Thanks for submitting this!