Fossil

Check-in [e0a9b6e0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Run without arguments, fossil proposes to run fossil help to list available commands.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | benoit
Files: files | file ages | folders
SHA1:e0a9b6e044d76f60d3039aaee7cb1e525767f9d8
User & Date: benoit 2010-07-14 13:25:28
Context
2010-07-14
13:25
Run without arguments, fossil proposes to run fossil help to list available commands. Closed-Leaf check-in: e0a9b6e0 user: benoit tags: benoit
2010-06-23
05:27
Fix makemake.tcl to generate main.mk as committed previously. Moved onto the "benoit" branch because it fails to build. check-in: 953d293c user: benoit tags: benoit
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/main.c.

225
226
227
228
229
230
231
232



233
234
235
236
237
238
239
  sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0);
  g.now = time(0);
  g.argc = argc;
  g.argv = argv;
  if( getenv("GATEWAY_INTERFACE")!=0 ){
    zCmdName = "cgi";
  }else if( argc<2 ){
    fprintf(stderr, "Usage: %s COMMAND ...\n", argv[0]);



    exit(1);
  }else{
    g.fQuiet = find_option("quiet", 0, 0)!=0;
    g.fSqlTrace = find_option("sqltrace", 0, 0)!=0;
    g.fSqlPrint = find_option("sqlprint", 0, 0)!=0;
    g.fHttpTrace = find_option("httptrace", 0, 0)!=0;
    g.zLogin = find_option("user", "U", 1);







|
>
>
>







225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
  sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0);
  g.now = time(0);
  g.argc = argc;
  g.argv = argv;
  if( getenv("GATEWAY_INTERFACE")!=0 ){
    zCmdName = "cgi";
  }else if( argc<2 ){
    fprintf(stderr, "Usage: %s COMMAND ...\n"
                    "\"%s help\" for a list of available commands\n"
                    "\"%s help COMMAND\" for specific details\n",
                    argv[0], argv[0], argv[0]);
    exit(1);
  }else{
    g.fQuiet = find_option("quiet", 0, 0)!=0;
    g.fSqlTrace = find_option("sqltrace", 0, 0)!=0;
    g.fSqlPrint = find_option("sqlprint", 0, 0)!=0;
    g.fHttpTrace = find_option("httptrace", 0, 0)!=0;
    g.zLogin = find_option("user", "U", 1);