Index: src/shell.c ================================================================== --- src/shell.c +++ src/shell.c @@ -10,11 +10,11 @@ ** ************************************************************************* ** This file contains code to implement the "sqlite" command line ** utility for accessing SQLite databases. ** -** $Id: shell.c,v 1.174 2008/01/21 16:22:46 drh Exp $ +** $Id: shell.c,v 1.175 2008/02/15 17:38:06 drh Exp $ */ #include #include #include #include @@ -334,22 +334,22 @@ #define MODE_Semi 3 /* Same as MODE_List but append ";" to each line */ #define MODE_Html 4 /* Generate an XHTML table */ #define MODE_Insert 5 /* Generate SQL "insert" statements */ #define MODE_Tcl 6 /* Generate ANSI-C or TCL quoted elements */ #define MODE_Csv 7 /* Quote strings, numbers are plain */ -#define MODE_NUM_OF 8 /* The number of modes (not a mode itself) */ -#define MODE_Explain 9 /* Like MODE_Column, but do not truncate data */ +#define MODE_Explain 8 /* Like MODE_Column, but do not truncate data */ -static const char *modeDescr[MODE_NUM_OF] = { +static const char *modeDescr[] = { "line", "column", "list", "semi", "html", "insert", "tcl", "csv", + "explain", }; /* ** Number of elements in an array */