about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_sqlite5
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index aae863ba1..b540e320d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-11-13  Oliver Kiddle  <opk@zsh.org>
 
+	* gitlab #1: Completion/Unix/Command/_sqlite: update options
+	for sqlite 3.21.0
+
 	* github #18: Malcolm Ramsay: Completion/Redhat/Command/_dnf:
 	Explicitly use system python so the dnf module can be found
 
diff --git a/Completion/Unix/Command/_sqlite b/Completion/Unix/Command/_sqlite
index df673894c..f63f4c085 100644
--- a/Completion/Unix/Command/_sqlite
+++ b/Completion/Unix/Command/_sqlite
@@ -22,7 +22,7 @@ options+=(
 )
 
 output_modes=( column HTML line list )
-(( $+sqlite3 )) && output_modes+=( csv quote )
+(( $+sqlite3 )) && output_modes+=( ascii csv quote )
 exclusive=( $^dashes-${^output_modes:l} )
 for display_opt in $output_modes ; do
   # finagle the description to match the way SQLite's -help formats them
@@ -45,7 +45,10 @@ options+=(
   $^dashes'-cmd[run specified command before reading stdin]:sqlite meta-command'
   '(-*batch -*interactive)'$^dashes'-batch[force batch I/O]'
   '(-*batch -*interactive)'$^dashes'-interactive[force interactive I/O]'
+  $^dashes'-lookaside[specify size and number of entries for lookaside memory]:size (bytes): :entries'
   $^dashes'-mmap[set default mmap size]:size'
+  $^dashes'-newline[set output row separator]:separator [\n]'
+  $^dashes'-pagecache[specify size and number of slots for page cache memory]:size (bytes): :slots'
   $^dashes'-stats[print memory stats before each finalize]'
   $^dashes'-vfs[use specified default VFS]:vfs:(unix-dotfile unix-excl unix-none unix-namedsem)'
 )