summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_sqlite
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2017-08-10 17:16:37 +0200
committerAxel Beckert <abe@deuxchevaux.org>2017-08-10 17:16:37 +0200
commite3b67a8198c852bf6c9db3a0a1a20e87a4e1da74 (patch)
tree8486633f6232f49ea330ab8e036decb5dc3bbf74 /Completion/Unix/Command/_sqlite
parentf8edeff2494bf23e2ee29d4c761361b1c878e09d (diff)
parentdc475bfa0ec6cd03789dde3bf28f71e0ea9d5003 (diff)
downloadzsh-e3b67a8198c852bf6c9db3a0a1a20e87a4e1da74.tar.gz
zsh-e3b67a8198c852bf6c9db3a0a1a20e87a4e1da74.zip
Merge tag '5.4.1' into debian
Release 5.4.1.
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