Skip to content

Commit 8e9dcc9

Browse files
committed
update markdown.
1 parent 7c39c1a commit 8e9dcc9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ Compare tools for directory and files.
77
* Compare the two files or directories are different
88
`sumdiff diff <path1> <path2>`
99

10-
- Example1:
10+
Example1:
1111
```shell
1212
sumdiff diff test_data/a.txt test_data/b.txt
1313
```
14-
Output:
14+
Output1:
1515
```text
1616
true
1717
```
1818

19-
- Example2:
19+
Example2:
2020
```shell
2121
sumdiff diff test_data/c.txt test_data/d.txt
2222
```
@@ -29,7 +29,7 @@ false
2929
* Compare the two file or directory differences
3030
`sumdiff diff <path1> <path2>`
3131

32-
- Example:
32+
Example:
3333
```shell
3434
sumdiff cmp test_data/data1 test_data/data3
3535
```
@@ -50,7 +50,7 @@ false
5050
Calculate the MD5 hexadecimal value of the files or directories
5151
`sumdiff md5 <path1> [<path2>] [<path3>] ...`
5252

53-
- Example:
53+
Example:
5454
```shell
5555
sumdiff md5 test_data/a.txt
5656
```
@@ -67,7 +67,7 @@ Output:
6767
Calculate the MD5 hexadecimal value of the files or directories
6868
`sumdiff sha1 <path1> [<path2>] [<path3>] ...`
6969

70-
- Example:
70+
Example:
7171
```shell
7272
sumdiff sha1 test_data/data1
7373
```
@@ -84,7 +84,7 @@ Output:
8484
## `Sha256` - Get SHA256 hash value
8585
`sumdiff sha256 <path1> [<path2>] [<path3>] ...`
8686

87-
- Example:
87+
Example:
8888
```shell
8989
sumdiff sha256 test_data/a.txt test_data/c.txt
9090
```
@@ -102,7 +102,7 @@ Output:
102102
Calculate the hash(md5|sha1|sha256|sha512) value of a file or directory
103103
`sumdiff hash <md5|sha1|sha256|sha512> <path1> [<path2>] [<path3>] ...`
104104

105-
- Example:
105+
Example:
106106
```shell
107107
sumdiff hash sha512 test_data/a.txt
108108
```

0 commit comments

Comments
 (0)