Fossil SCM

Promote the "sha1sum" command to a first-class fully documented command.

drh 2009-09-30 23:24 trunk
Commit c83c1110f696bedb5f8d291d956f8995530594b4
1 file changed +2 -1
+2 -1
--- src/sha1.c
+++ src/sha1.c
@@ -536,11 +536,12 @@
536536
return 0;
537537
}
538538
539539
540540
/*
541
-** COMMAND: test-sha1sum
541
+** COMMAND: sha1sum
542
+** %fossil sha1sum FILE...
542543
**
543544
** Compute an SHA1 checksum of all files named on the command-line.
544545
** If an file is named "-" then take its content from standard input.
545546
*/
546547
void sha1sum_test(void){
547548
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button