Diff
Not logged in

Differences From:

File src/db.c part of check-in [7351b6346d] - Add the "/doc" method on the server. by drh on 2008-05-15 16:58:42. [view]

To:

File src/db.c part of check-in [dfb68976be] - Add the "ui" command to automatically launch a web browser after starting the HTTP server. The web browser choice can be configured using the "setting" command. by drh on 2008-05-17 18:19:11. [view]

@@ -1096,12 +1096,15 @@
 **    autosync         If enabled, automatically pull prior to
 **                     commit or update and automatically push
 **                     after commit or tag or branch creation.
 **
-**    pgp-command      Command used to clear-sign manifests at check-in.
-**                     The default is "gpg --clearsign -o ".
+**    diff-command     External command to run when performing a diff.
+**                     If undefined, the internal text diff will be used.
 **
 **    editor           Text editor command used for check-in comments.
+**
+**    gdiff-command    External command to run when performing a graphical
+**                     diff. If undefined, text diff will be used.
 **
 **    localauth        If enabled, require that HTTP connections from
 **                     127.0.0.1 be authenticated by password.  If
 **                     false, all HTTP requests from localhost have
@@ -1109,18 +1112,20 @@
 **
 **    omitsign         When enabled, fossil will not attempt to sign any
 **                     commit with gpg. All commits will be unsigned.
 **
+**    pgp-command      Command used to clear-sign manifests at check-in.
+**                     The default is "gpg --clearsign -o ".
+**
 **    proxy            URL of the HTTP proxy.  If undefined or "off" then
 **                     the "http_proxy" environment variable is consulted.
 **                     If the http_proxy environment variable is undefined
 **                     then a direct HTTP connection is used.
 **
-**    diff-command     External command to run when performing a diff.
-**                     If undefined, the internal text diff will be used.
-**
-**    gdiff-command    External command to run when performing a graphical
-**                     diff. If undefined, text diff will be used.
+**    web-browser      A shell command used to launch your preferred
+**                     web browser when given a URL as an argument.
+**                     Defaults to "start" on windows, "open" on Mac,
+**                     and "firefox" on Unix.
 */
 void setting_cmd(void){
   static const char *azName[] = {
     "autosync",
@@ -1130,8 +1135,9 @@
     "localauth",
     "omitsign",
     "pgp-command",
     "proxy",
+    "web-browser",
   };
   int i;
   int globalFlag = find_option("global","g",0)!=0;
   int unsetFlag = g.argv[1][0]=='u';