Fossil SCM
Promote the "sha1sum" command to a first-class fully documented command.
Commit
c83c1110f696bedb5f8d291d956f8995530594b4
Parent
ca08c1d1b3f9931…
1 file changed
+2
-1
+2
-1
| --- src/sha1.c | ||
| +++ src/sha1.c | ||
| @@ -536,11 +536,12 @@ | ||
| 536 | 536 | return 0; |
| 537 | 537 | } |
| 538 | 538 | |
| 539 | 539 | |
| 540 | 540 | /* |
| 541 | -** COMMAND: test-sha1sum | |
| 541 | +** COMMAND: sha1sum | |
| 542 | +** %fossil sha1sum FILE... | |
| 542 | 543 | ** |
| 543 | 544 | ** Compute an SHA1 checksum of all files named on the command-line. |
| 544 | 545 | ** If an file is named "-" then take its content from standard input. |
| 545 | 546 | */ |
| 546 | 547 | void sha1sum_test(void){ |
| 547 | 548 |
| --- src/sha1.c | |
| +++ src/sha1.c | |
| @@ -536,11 +536,12 @@ | |
| 536 | return 0; |
| 537 | } |
| 538 | |
| 539 | |
| 540 | /* |
| 541 | ** COMMAND: test-sha1sum |
| 542 | ** |
| 543 | ** Compute an SHA1 checksum of all files named on the command-line. |
| 544 | ** If an file is named "-" then take its content from standard input. |
| 545 | */ |
| 546 | void sha1sum_test(void){ |
| 547 |
| --- src/sha1.c | |
| +++ src/sha1.c | |
| @@ -536,11 +536,12 @@ | |
| 536 | return 0; |
| 537 | } |
| 538 | |
| 539 | |
| 540 | /* |
| 541 | ** COMMAND: sha1sum |
| 542 | ** %fossil sha1sum FILE... |
| 543 | ** |
| 544 | ** Compute an SHA1 checksum of all files named on the command-line. |
| 545 | ** If an file is named "-" then take its content from standard input. |
| 546 | */ |
| 547 | void sha1sum_test(void){ |
| 548 |