Diff
Not logged in

Differences From:

File src/main.c part of check-in [0cd202a86e] - Website updates. Change the message for unrecognized commands to refer the user to "help". by drh on 2007-08-23 23:10:56. Also file src/main.c part of check-in [424d47e453] - Attempting the same merge that aku tried and got empty files with. by drh on 2007-08-25 18:58:16. [view]

To:

File src/main.c part of check-in [def4449a87] - Add the "baseline" command that shows the UUID of the fossil baseline from which the fossil executable was built. by drh on 2007-08-25 19:39:58. [view]

@@ -409,8 +409,18 @@
       z++;
     }
   }
   putchar('\n');
+}
+
+/*
+** COMMAND: baseline
+**
+** Show the baseline number of the source code from which this
+** fossil executable was generated.
+*/
+void baseline_cmd(void){
+  printf("%s\n", MANIFEST_UUID);
 }
 
 /*
 ** RSS feeds need to reference absolute URLs so we need to calculate