Diff
Not logged in

Differences From:

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]

To:

File src/main.c part of check-in [b2e55c0d4d] - Add the /wiki and /bwiki web pages. Currently renders content from the check-out as readonly. by drh on 2007-09-01 21:11:33. Also file src/main.c part of check-in [bbcb6326c9] - Pulled in the navbar and timeline changes. by aku on 2007-09-17 00:58:51. [view]

@@ -340,9 +340,9 @@
   }
 }
 
 /*
-** COMMAND: commands
+** COM MAND: commands
 **
 ** Usage: %fossil commands
 ** List all supported commands.
 */
@@ -386,8 +386,9 @@
   const char *z;
   if( g.argc!=3 ){
     printf("Usage: %s help COMMAND.\nAvailable COMMANDs:\n", g.argv[0]);
     cmd_cmd_list();
+    printf("You are running fossil baseline " MANIFEST_UUID "\n");
     return;
   }
   rc = name_search(g.argv[2], aCommand, count(aCommand), &idx);
   if( rc==1 ){
@@ -409,18 +410,8 @@
       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