Skip to content

Commit

Permalink
chore: fixed grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed Dec 14, 2022
1 parent 26cac8e commit b5a1425
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Options:
```
Usage: sol2uml diff [options] <addressA> <addressB>
The results show the comparision of contract A to B.
The results show the comparison of contracts A to B.
The green sections are additions to contract B that are not in contract A.
The red sections are removals from contract A that are not in contract B.
The line numbers are from contract B. There are no line numbers for the red sections as they are not in contract B.
Expand All @@ -172,7 +172,7 @@ Arguments:
addressB Contract address in hexadecimal format with a 0x prefix.
Options:
-l, --lineBuffer <value> Minimum number a lines before and after changes (default: "4")
-l, --lineBuffer <value> Minimum number of lines before and after changes (default: "4")
-s, --saveFiles Save the flattened contract code to the filesystem. The file names will be the contract address with a .sol extension. (default: false)
-h, --help display help for command
```
Expand Down
4 changes: 2 additions & 2 deletions lib/sol2uml.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/ts/sol2uml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ program
.usage(
`[options] <addressA> <addressB>
The results show the comparision of contract A to B.
The results show the comparison of contracts A to B.
The ${clc.green(
'green'
)} sections are additions to contract B that are not in contract A.
Expand All @@ -412,7 +412,7 @@ The line numbers are from contract B. There are no line numbers for the red sect
.addOption(
new Option(
'-l, --lineBuffer <value>',
'Minimum number a lines before and after changes'
'Minimum number of lines before and after changes'
).default('4')
)
.option(
Expand Down

0 comments on commit b5a1425

Please sign in to comment.