Skip to content

Commit

Permalink
add missing readme entries
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejstromich committed Jul 25, 2019
1 parent a2dd3cb commit 6a23eb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Usage::
[-f {csv,custom,html,json,screen,txt,xml,yaml}]
[--msg-template MSG_TEMPLATE] [-o [OUTPUT_FILE]] [-v] [-d] [-q]
[--ignore-nosec] [-x EXCLUDED_PATHS] [-b BASELINE]
[--ini INI_PATH] [--version]
[--ini INI_PATH] [--exit-zero] [--version]
[targets [targets ...]]

Bandit - a Python source code security analyzer
Expand Down Expand Up @@ -151,6 +151,7 @@ Usage::
JSON-formatted files are accepted)
--ini INI_PATH path to a .bandit file that supplies command line
arguments
--exit-zero exit with 0, even with results found
--version show program's version number and exit

CUSTOM FORMATTING
Expand Down
4 changes: 2 additions & 2 deletions bandit/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ def main():
help='path to a .bandit file that supplies command line arguments'
)
parser.add_argument('--exit-zero', action='store_true', dest='exit_zero',
default=False, help='Exit with 0, '
'even with results found.')
default=False, help='exit with 0, '
'even with results found')
python_ver = sys.version.replace('\n', '')
parser.add_argument(
'--version', action='version',
Expand Down

0 comments on commit 6a23eb9

Please sign in to comment.