/ Check-in [289092bb]
Login

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

Overview
Comment:Fix typo in comment and update help text.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | asciiMode
Files: files | file ages | folders
SHA1: 289092bb64463efe78a5f01b06b24aa664a31feb
User & Date: mistachkin 2014-07-24 22:20:23
Context
2014-07-24
22:33
Update a shell test case. check-in: b84008cb user: mistachkin tags: asciiMode
22:20
Fix typo in comment and update help text. check-in: 289092bb user: mistachkin tags: asciiMode
22:13
Merge updates from trunk. check-in: 8dc0cdf6 user: mistachkin tags: asciiMode
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/shell.c.

  1619   1619   /*
  1620   1620   ** Text of a help message
  1621   1621   */
  1622   1622   static char zHelp[] =
  1623   1623     ".backup ?DB? FILE      Backup DB (default \"main\") to FILE\n"
  1624   1624     ".bail on|off           Stop after hitting an error.  Default OFF\n"
  1625   1625     ".clone NEWDB           Clone data into NEWDB from the existing database\n"
  1626         -  ".colseparator STRING   This is an alias for .separator\n"
         1626  +  ".colseparator STRING   This is an alias for the one argument version of\n"
         1627  +  "                         .separator\n"
  1627   1628     ".databases             List names and files of attached databases\n"
  1628   1629     ".dump ?TABLE? ...      Dump the database in an SQL text format\n"
  1629   1630     "                         If TABLE specified, only dump tables matching\n"
  1630   1631     "                         LIKE pattern TABLE.\n"
  1631   1632     ".echo on|off           Turn command echo on or off\n"
  1632   1633     ".eqp on|off            Enable or disable automatic EXPLAIN QUERY PLAN\n"
  1633   1634     ".exit                  Exit this program\n"
................................................................................
  2642   2643       int nCol;                   /* Number of columns in the table */
  2643   2644       int nByte;                  /* Number of bytes in an SQL string */
  2644   2645       int i, j;                   /* Loop counters */
  2645   2646       int needCommit;             /* True to COMMIT or ROLLBACK at end */
  2646   2647       int nSep;                   /* Number of bytes in p->colSeparator[] */
  2647   2648       char *zSql;                 /* An SQL statement */
  2648   2649       ImportCtx sCtx;             /* Reader context */
  2649         -    char *(*xRead)(ImportCtx*); /* Procecure to read one value */
         2650  +    char *(*xRead)(ImportCtx*); /* Procedure to read one value */
  2650   2651       int (*xCloser)(FILE*);      /* Procedure to close th3 connection */
  2651   2652   
  2652   2653       if( nArg!=3 ){
  2653   2654         fprintf(stderr, "Usage: .import FILE TABLE\n");
  2654   2655         goto meta_command_exit;
  2655   2656       }
  2656   2657       zFile = azArg[1];
................................................................................
  3895   3896   /*
  3896   3897   ** Show available command line options
  3897   3898   */
  3898   3899   static const char zOptions[] = 
  3899   3900     "   -ascii               set output mode to 'ascii'\n"
  3900   3901     "   -bail                stop after hitting an error\n"
  3901   3902     "   -batch               force batch I/O\n"
  3902         -  "   -colseparator SEP    same as -separator\n"
         3903  +  "   -colseparator SEP    same as -separator with one argument\n"
  3903   3904     "   -column              set output mode to 'column'\n"
  3904   3905     "   -cmd COMMAND         run \"COMMAND\" before reading stdin\n"
  3905   3906     "   -csv                 set output mode to 'csv'\n"
  3906   3907     "   -echo                print commands before execution\n"
  3907   3908     "   -init FILENAME       read/process named file\n"
  3908   3909     "   -[no]header          turn headers on or off\n"
  3909   3910   #if defined(SQLITE_ENABLE_MEMSYS3) || defined(SQLITE_ENABLE_MEMSYS5)