Fossil SCM

Make "fossil sql" an alias for "fossil sqlite3" so that typing "fossil sql" does not generate an ambiguity with the new "fossil sqlar" command.

drh 2017-12-07 12:01 trunk
Commit e02f4bf1b247daefb94828f80e498911834fb000f7c8004bcb892438f20e7d7b
1 file changed +2 -1
+2 -1
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -225,11 +225,12 @@
225225
g.repositoryOpen = 0;
226226
g.localOpen = 0;
227227
}
228228
229229
/*
230
-** COMMAND: sqlite3
230
+** COMMAND: sql
231
+** COMMAND: sqlite3*
231232
**
232233
** Usage: %fossil sql ?OPTIONS?
233234
**
234235
** Run the standalone sqlite3 command-line shell on DATABASE with SHELL_OPTS.
235236
** If DATABASE is omitted, then the repository that serves the working
236237
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -225,11 +225,12 @@
225 g.repositoryOpen = 0;
226 g.localOpen = 0;
227 }
228
229 /*
230 ** COMMAND: sqlite3
 
231 **
232 ** Usage: %fossil sql ?OPTIONS?
233 **
234 ** Run the standalone sqlite3 command-line shell on DATABASE with SHELL_OPTS.
235 ** If DATABASE is omitted, then the repository that serves the working
236
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -225,11 +225,12 @@
225 g.repositoryOpen = 0;
226 g.localOpen = 0;
227 }
228
229 /*
230 ** COMMAND: sql
231 ** COMMAND: sqlite3*
232 **
233 ** Usage: %fossil sql ?OPTIONS?
234 **
235 ** Run the standalone sqlite3 command-line shell on DATABASE with SHELL_OPTS.
236 ** If DATABASE is omitted, then the repository that serves the working
237

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button