From 91c13fe5c0d0f395a3f4b4cee03994f373817a18 Mon Sep 17 00:00:00 2001 From: erottier Date: Tue, 21 Dec 2021 21:26:59 +0100 Subject: [PATCH 1/2] Add application parameters to readme.md --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e93dfda..47512ee 100644 --- a/README.md +++ b/README.md @@ -161,4 +161,23 @@ log4j-finder.exe c:\ d:\ e:\ f:\ ``` Files or directories that cannot be accessed (Permission denied errors) are not printed. -If you want to see more output, you can give the `-v` flag for verbose, or `-vv` for debug mode (only recommended for debugging purposes). + +Application arguments: +```bash +positional arguments: + PATH Directory or file(s) to scan (recursively) (default: + ['/']) + +optional arguments: + -h, --help show this help message and exit + -v, --verbose verbose output (-v is info, -vv is debug) (default: 0) + -n, --no-color disable color output (default: False) + -q, --quiet be more quiet, disables banner and summary (default: + False) + -b, --no-banner disable banner (default: False) + -V, --version show program's version number and exit + -e PATTERN, --exclude PATTERN + exclude files/directories by pattern (can be used + multiple times) (default: None) +``` +Files are scanned recursively, both on disk and in (nested) Java Archive Files From 79c6a12498282f59d92c3fccfacf12f235f036a9 Mon Sep 17 00:00:00 2001 From: erottier Date: Wed, 22 Dec 2021 10:02:49 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 47512ee..d00e6f2 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,8 @@ log4j-finder.exe c:\ d:\ e:\ f:\ Files or directories that cannot be accessed (Permission denied errors) are not printed. +If you want to see more output, you can give the `-v` flag for verbose, or `-vv` for debug mode (only recommended for debugging purposes). + Application arguments: ```bash positional arguments: