Diff
Not logged in

Differences From:

File src/content.c part of check-in [7a2c37063a] - merge trunk into creole branch by bob on 2009-09-22 07:49:39. Also file src/content.c part of check-in [4c37130fde] - Various small performance enhancements. by drh on 2009-08-27 18:33:43. [view]

To:

File src/content.c part of check-in [8480dd38d2] - Add the "artifact" command for extracting the content of individual artifacts. The new "artifact" command is really just a renaming of "test-content-get". by drh on 2009-10-31 17:01:35. [view]

@@ -312,13 +312,17 @@
   return 0;
 }
 
 /*
-** COMMAND:  test-content-get
+** COMMAND:  artifact
+**
+** Usage: %fossil artifact ARTIFACT-ID  ?OUTPUT-FILENAME?
 **
-** Extract a blob from the database and write it into a file.
+** Extract an artifact by its SHA1 hash and write the results on
+** standard output, or if the optional 4th argument is given, in
+** the named output file.
 */
-void test_content_get_cmd(void){
+void artifact_cmd(void){
   int rid;
   Blob content;
   const char *zFile;
   if( g.argc!=4 && g.argc!=3 ) usage("RECORDID ?FILENAME?");