mirror of
https://github.com/hohn/sarif-cli.git
synced 2025-12-16 17:23:03 +01:00
Fix tool to default CLI not LGTM sarif input
update readme minor improvement
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
# CLI tools for SARIF processing
|
||||
|
||||
Each of these tools present a high-level command-line interface to extract a
|
||||
specific subset of information from a SARIF file. The main tools are: `sarif-extract-scans-runner`,`sarif-aggregate-scans`,`sarif-create-aggregate-report`
|
||||
specific subset of information from a SARIF file. The main tools are: `sarif-extract-scans-runner`,`sarif-aggregate-scans`,`sarif-create-aggregate-report`.
|
||||
|
||||
Each tool can print its options and description like: `sarif-extract-scans-runner --help`.
|
||||
|
||||
The tool was implemented using Python 3.9.
|
||||
|
||||
|
||||
@@ -88,9 +88,9 @@ parser = argparse.ArgumentParser(description='Run sarif-extract-scans over a dir
|
||||
|
||||
parser.add_argument('sarif_files', metavar='sarif-files', type=str, help='File containing list of sarif files, use - for stdin')
|
||||
|
||||
parser.add_argument('-f','--input-signature', metavar='input-signature', type=str, default="LGTM",
|
||||
help='Signature of the sarif, as in, where it was generated it may affect the signature.'
|
||||
'Options: LGTM, CLI'
|
||||
parser.add_argument('-f','--input-signature', metavar='input-signature', type=str, default="CLI",
|
||||
help='Signature of the sarif, as in, where it was generated it may affect the signature.\n'
|
||||
'Options: LGTM, CLI.\n'
|
||||
'If current represented signatures are not sufficient, view signature_single.py for how to support further signatures.'
|
||||
' Default: "%(default)s"')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user