File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
content/learning-paths/servers-and-cloud-computing/migrate-ease Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ You can use migrate-ease from the command-line or through a Web GUI.
4848You can scan local codebases written in a supported programming languages. By default, scan results from the code analysis are sent to the console.
4949
5050``` bash
51- python3 -m {scanner_name} --arch {arch} {scan_path}
51+ python3 -m {scanner_name} --march {arch} {scan_path}
5252```
5353The result from the scan can be exported as ` txt ` , ` csv ` , ` json ` or ` html ` . Specify this using the ` --output ` option:
5454
5555To generate a JSON report:
5656``` bash
57- python3 -m {scanner_name} --output {result_file_name}.json --arch {arch} {scan_path}
57+ python3 -m {scanner_name} --output {result_file_name}.json --march {arch} {scan_path}
5858```
5959
6060Here's an explanation of each of the arguments passed to the scanner tool:
@@ -65,13 +65,13 @@ Here's an explanation of each of the arguments passed to the scanner tool:
6565
6666` {result_file_name} ` : The name of the exported results file (without the extension).
6767
68- ` {arch} ` : The architecture type; ` aarch64 ` is the default.
68+ ` {arch} ` : The architecture type; ` armv8-a ` is the default.
6969
7070` {scan_path} ` : The path to the code you want to scan.
7171
7272To scan a remote Git repository:
7373``` bash
74- python3 -m {scanner_name} --output {result_file_name}.json --arch {arch} --git-repo {repo} {clone_path}
74+ python3 -m {scanner_name} --output {result_file_name}.json --march {arch} --git-repo {repo} {clone_path}
7575```
7676In the case of git repository scan, ` {clone_path} ` is a directory where the remote repo code is cloned into. This directory should be empty or must be created by the user.
7777
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Support for AArch64 was added in Protobuf version v3.5.0 (November 2017). To dem
1515Use migrate-ease to scan protobuf v2.5.0 and output the results to a JSON file named ` result.json ` :
1616
1717``` bash
18- python3 -m cpp --git-repo https://github.com/protocolbuffers/protobuf.git --branch v2.5.0 --output result.json --arch aarch64 protobuf
18+ python3 -m cpp --git-repo https://github.com/protocolbuffers/protobuf.git --branch v2.5.0 --output result.json --march armv8-a protobuf
1919```
2020
2121The scan will generate a file called ` result.json ` in your current directory.
You can’t perform that action at this time.
0 commit comments