From 14ff7d39ad2c9a0d0c4549783f04cf809e5d1980 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sat, 5 Aug 2017 16:22:03 +0200 Subject: 41492: update some options in completions --- Completion/Unix/Command/_sqlite | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Completion/Unix/Command/_sqlite') 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 -- cgit 1.4.1