summary refs log tree commit diff
path: root/Completion/Unix/Command/_sqlite
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-08-05 16:22:03 +0200
committerOliver Kiddle <opk@zsh.org>2017-08-05 16:22:30 +0200
commit14ff7d39ad2c9a0d0c4549783f04cf809e5d1980 (patch)
treee7fbc64e9addbc7783341dc439ec7854235a4366 /Completion/Unix/Command/_sqlite
parent039a34cca5fb2ad1ae16e5a5914bdab3071b7186 (diff)
downloadzsh-14ff7d39ad2c9a0d0c4549783f04cf809e5d1980.tar.gz
zsh-14ff7d39ad2c9a0d0c4549783f04cf809e5d1980.tar.xz
zsh-14ff7d39ad2c9a0d0c4549783f04cf809e5d1980.zip
41492: update some options in completions
Diffstat (limited to 'Completion/Unix/Command/_sqlite')
-rw-r--r--Completion/Unix/Command/_sqlite9
1 files changed, 6 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_sqlite b/Completion/Unix/Command/_sqlite
index 05027c603..df673894c 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 )
+(( $+sqlite3 )) && output_modes+=( 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
@@ -32,8 +32,8 @@ for display_opt in $output_modes ; do
 done
 
 options+=(
-  $^dashes'-separator[set output field separator]:string to separate output fields:'
-  $^dashes'-nullvalue[set null value string]:string for NULL values:'
+  $^dashes'-separator[set output field separator]:output field separator [|]'
+  $^dashes'-nullvalue[set text string for null values]:string'
   '(- :)'$^dashes'-version[show SQLite version]'
   '(- :)'$^dashes'-help[show help]'
   '1:SQLite database file:_files'
@@ -42,9 +42,12 @@ options+=(
 
 (( $+sqlite3 )) && options+=(
   $^dashes'-bail[stop after hitting an error]'
+  $^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'-mmap[set default mmap size]:size'
   $^dashes'-stats[print memory stats before each finalize]'
+  $^dashes'-vfs[use specified default VFS]:vfs:(unix-dotfile unix-excl unix-none unix-namedsem)'
 )
 
 _arguments $options