Diff
Not logged in

Differences From:

File src/db.c part of check-in [c9fdb846fb] - Add the "help" command and the "clean" command. More work is needed on the text for various help messages. by drh on 2007-08-18 02:45:47. [view]

To:

File src/db.c part of check-in [6607844a01] - Added options to the "timeline" CLI command. Additional help comments. by drh on 2007-08-18 11:42:24. [view]

@@ -579,11 +579,11 @@
   g.zRepositoryName = mprintf("%s", zDbName);
 }
 
 /*
-** Try to find the repository and open it.  If we are in a local
-** tree, then use the repository of the local tree.  Otherwise,
-** fall back to the -R or --repository option.
+** Try to find the repository and open it.  Use the -R or --repository
+** option to locate the repository.  If no such option is available, then
+** use the repository of the open checkout if there is one.
 **
 ** Error out if the repository cannot be opened.
 */
 void db_find_and_open_repository(void){
@@ -825,8 +825,9 @@
 /*
 ** COMMAND: open
 **
 ** Usage: open FILENAME
+**
 ** Open a connection to the local repository in FILENAME.  A checkout
 ** for the repository is created with its root at the working directory.
 ** See also the "close" command.
 */
@@ -848,9 +849,21 @@
 
 /*
 ** COMMAND: config
 **
-** List or change the global configuration settings.
+** Usage: %fossil config NAME=VALUE ...
+**
+** List or change the global configuration settings.  With no arguments,
+** all settings are listed.  Arguments of simply NAME cause that setting
+** to be displayed.  Arguments of the form NAME=VALUE change the value of
+** a setting.  Arguments of the form NAME= delete a setting.
+**
+** Recognized settings include:
+**
+**   editor        Text editor command used for check-in comments.
+**
+**   clear-sign    Command used to clear-sign manifests at check-in.
+**                 The default is "gpg --clearsign -o ".
 */
 void cmd_config(void){
   db_open_config();
   if( g.argc>2 ){