Skip to content

Commit b3f96ce

Browse files
committed
docs
1 parent 249f758 commit b3f96ce

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,25 @@ See below for the output if you run `simplesecurity` in this directory
4141

4242
### Help
4343

44-
```txt
45-
usage: __main__.py [-h] [--format FORMAT] [--plugin PLUGIN] [--file FILE] [--level LEVEL] [--confidence CONFIDENCE]
46-
[--no-colour] [--high-contrast] [--fast] [--zero]
47-
48-
Combine multiple popular python security tools...
44+
```bash
45+
$ simplesecurity --help
46+
usage: simplesecurity [-h] [--scan-dir SCAN_DIR] [--format FORMAT] [--plugin PLUGIN] [--file FILE] [--level LEVEL]
47+
[--confidence CONFIDENCE] [--no-colour] [--high-contrast] [--fast] [--zero]
4948

50-
and generate reports or output into different formats.
49+
Combine multiple popular python security tools and generate reports or output
50+
into different formats...
5151

52-
optional arguments:
52+
options:
5353
-h, --help show this help message and exit
54+
--scan-dir SCAN_DIR, -s SCAN_DIR
55+
Pass a path to the scan directory (optional)
5456
--format FORMAT, -f FORMAT
5557
Output format. One of ansi, json, markdown, csv. default=ansi
5658
--plugin PLUGIN, -p PLUGIN
5759
Plugin to use. One of bandit, safety, dodgy, dlint, semgrep, all, default=all
5860
--file FILE, -o FILE Filename to write to (omit for stdout)
5961
--level LEVEL, -l LEVEL
60-
Minimum level/ severity to show
62+
Minimum severity/ level to show
6163
--confidence CONFIDENCE, -c CONFIDENCE
6264
Minimum confidence to show
6365
--no-colour, -z No ANSI colours

simplesecurity/formatter.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
1818
Formats
1919
20-
- markdown
20+
- ansi (for terminal)
2121
- json
22+
- markdown
2223
- csv
23-
- ansi
24+
- sarif
2425
"""
2526
# pyright: reportConstantRedefinition=false
2627
from __future__ import annotations

0 commit comments

Comments
 (0)