Skip to content

Commit

Permalink
Update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
anfedotoff committed Jan 22, 2024
1 parent 454f32b commit 1c552d8
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,24 +170,24 @@ Run casr-java:

## casr-js

Create CASR reports (.casrep) from JavaScript reports
Create CASR reports (.casrep) from JavaScript crash reports

Usage: casr-js [OPTIONS] <--stdout|--output <REPORT>> [-- <ARGS>...]

Arguments:
[ARGS]... Add "-- <path> <arguments>" to run

Options:
-o, --output <REPORT> Path to save report. Path can be a directory, then report
name is generated
--stdout Print CASR report to stdout
--stdin <FILE> Stdin file for program
-t, --timeout <SECONDS> Timeout (in seconds) for target execution, 0 value means
that timeout is disabled [default: 0]
--ignore <FILE> File with regular expressions for functions and file paths
that should be ignored
-h, --help Print help
-V, --version Print version
-o, --output <REPORT> Path to save report. Path can be a directory, then report name
is generated
--stdout Print CASR report to stdout
--stdin <FILE> Stdin file for program
-t, --timeout <SECONDS> Timeout (in seconds) for target execution, 0 value means that
timeout is disabled [default: 0]
--ignore <FILE> File with regular expressions for functions and file paths that
should be ignored
-h, --help Print help
-V, --version Print version

Run casr-js:

Expand Down Expand Up @@ -261,6 +261,8 @@ Tool for clustering CASR reports
-m, --merge <INPUT_DIR> <OUTPUT_DIR>
Merge INPUT_DIR into OUTPUT_DIR. Only new CASR reports from INPUT_DIR will be
added to OUTPUT_DIR.
--diff <NEW_DIR> <PREV_DIR> <DIFF_DIR>
Compute NEW_DIR \ PREV_DIR. Save new CASR reports from NEW_DIR into DIFF_DIR.
--ignore <FILE>
File with regular expressions for functions and file paths that should be
ignored
Expand Down

0 comments on commit 1c552d8

Please sign in to comment.