summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_sqlite
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2025-04-30 02:07:56 -0700
committerJoe Rayhawk <jrayhawk@fairlystable.org>2025-04-30 02:07:56 -0700
commit26e09889646be3ea65b4a3dfeda26213e4bb6a27 (patch)
tree4f3c73a9416bf47ad7e125383d23cf42879e38d7 /Completion/Unix/Command/_sqlite
parent841bce705a58b04220b1f257abcc00ae71cbdbdc (diff)
parent001cba48ce3b964cf01fb3e2af54b20eacbc9bf5 (diff)
downloadzsh-26e09889646be3ea65b4a3dfeda26213e4bb6a27.tar.gz
zsh-26e09889646be3ea65b4a3dfeda26213e4bb6a27.zip
Merge branch 'upstream' into debian
Diffstat (limited to 'Completion/Unix/Command/_sqlite')
-rw-r--r--Completion/Unix/Command/_sqlite10
1 files changed, 9 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_sqlite b/Completion/Unix/Command/_sqlite
index 7ef3c6daa..a83624083 100644
--- a/Completion/Unix/Command/_sqlite
+++ b/Completion/Unix/Command/_sqlite
@@ -12,7 +12,7 @@ dashes=( '' )
options=(
'(-init --init)'$^dashes'-init[startup file]:file containing SQLite commands:_files'
- $^dashes'-echo[echo commands]'
+ $^dashes'-echo[print inputs before execution]'
)
exclusive=( {,-}-{no,}header )
@@ -55,10 +55,16 @@ options+=(
$^dashes'-mmap[set default mmap size]:size'
$^dashes'-newline[set output row separator]:separator [\n]'
$^dashes'-nofollow[refuse to open symbolic links to database files]'
+ $^dashes'-nonce[set the safe-mode escape nonce]:string'
+ $^dashes'-no-rowid-in-view[disable rowid-in-view using sqlite3_config()]'
$^dashes'-pagecache[specify size and number of slots for page cache memory]:size (bytes): :slots'
+ $^dashes'-pcachetrace[trace all page cache operations]'
$^dashes'-readonly[open the database read-only]'
+ $^dashes'-safe[enable safe-mode]'
$^dashes'-stats[print memory stats before each finalize]'
+ $^dashes'-unsafe-testing[allow unsafe commands and modes for testing]'
$^dashes'-vfs[use specified default VFS]:vfs:(unix-dotfile unix-excl unix-none unix-namedsem)'
+ $^dashes'-vfstrace[enable tracing of all VFS calls]'
$^dashes'-zip[open the file as a ZIP Archive]'
)
@@ -68,12 +74,14 @@ if [[ -n $words[(r)-A*] ]]; then
'(1 -a --append -f --file)'{-f+,--file=}'[specify archive file]:archive file:_files'
'(1 -a --append -f --file)'{-a,--append=}'[operate on specified file opened using the apndvfs VFS]:archive file:_files'
'(-C --directory)'{-C+,--directory=}'[change to specified directory to read/extract files]:directory:_directories'
+ '(-g --glob)'{-g,--glob}'[use glob matching for names in archive]'
'(-n --dryrun)'{-n,--dryrun}'[show the SQL that would have occurred]'
'*:file:_files'
+ '(commands)' \
'(-c --create)'{-c,--create}'[create a new archive]'
'(-u --update)'{-u,--update}'[update or add files to an existing archive]'
'(-i --insert)'{-i,--insert}'[like -u but always add even if mtime unchanged]'
+ '(-r --remove)'{-r,--remove}'[remove files from archive]'
'(-t --list)'{-t,--list}'[list contents of archive]'
'(-x --extract)'{-x,--extract}'[extract files from archive]'
)