Skip to content

Commit 3e6e5da

Browse files
authored
Update README.md
1 parent 6b8e473 commit 3e6e5da

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

README.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,26 @@ Run the Gradle wrapper script to build the project. This will compile the projec
7272
The jar will be built at `build/libs/codeanalyzer-1.0.jar`. It may be used as follows:
7373

7474
```help
75-
Usage: java -jar /path/to/codeanalyzer-1.0.jar [-hqV] [-d=<appDeps>] [-e=<extraLibs>] -i=<input>
76-
-o=<outDir>
77-
Convert java binary (*.jar, *.ear, *.war) to a neo4j graph.
78-
-d, --app-deps=<appDeps> Path to the application dependencies.
79-
-e, --extra-libs=<extraLibs>
80-
Path to the extra libraries.
81-
-h, --help Show this help message and exit.
82-
-i, --input=<input> Path to the input jar(s).
83-
-o, --output=<outDir> Destination directory to save the output graphs.
84-
-q, --quiet Don't print logs to console.
85-
-V, --version Print version information and exit.
75+
Usage: java -jar /path/to/codeanalyzer.jar [-hvV] [--no-build] [-a=<analysisLevel>] [-b=<build>]
76+
[-i=<input>] [-o=<output>] [-s=<sourceAnalysis>]
77+
Convert java binary into a comprehensive system dependency graph.
78+
-i, --input=<input> Path to the project root directory.
79+
-s, --source-analysis=<sourceAnalysis>
80+
Analyze a single string of java source code instead
81+
the project.
82+
-o, --output=<output> Destination directory to save the output graphs. By
83+
default, the SDG formatted as a JSON will be
84+
printed to the console.
85+
-b, --build-cmd=<build> Custom build command. Defaults to auto build.
86+
--no-build Do not build your application. Use this option if
87+
you have already built your application.
88+
-a, --analysis-level=<analysisLevel>
89+
Level of analysis to perform. Options: 1 (for just
90+
symbol table) or 2 (for call graph). Default: 1
91+
-v, --verbose Print logs to console.
92+
-h, --help Show this help message and exit.
93+
-V, --version Print version information and exit.
94+
8695
```
8796

8897

0 commit comments

Comments
 (0)