Skip to content

Commit 66f5b4d

Browse files
authored
Merge pull request #2265 from JoeStech/migrate-ease-fix
fix migrate-ease invocation march parameter
2 parents 6f4be90 + ffaf99a commit 66f5b4d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

content/learning-paths/servers-and-cloud-computing/migrate-ease/3_migrate_ease_run.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ You can use migrate-ease from the command-line or through a Web GUI.
4848
You 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
```
5353
The result from the scan can be exported as `txt`, `csv`, `json` or `html`. Specify this using the `--output` option:
5454

5555
To 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

6060
Here'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

7272
To 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
```
7676
In 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

content/learning-paths/servers-and-cloud-computing/migrate-ease/4_migrate_ease_analysis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Support for AArch64 was added in Protobuf version v3.5.0 (November 2017). To dem
1515
Use 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

2121
The scan will generate a file called `result.json` in your current directory.

0 commit comments

Comments
 (0)