mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:37:27 +08:00
completions(postgresql): shorten descriptions
This commit is contained in:
parent
cd52937771
commit
f45ca4aca4
|
@ -3,13 +3,13 @@ complete -c pg_dump --no-files -a '(__fish_complete_pg_database)'
|
|||
# General options:
|
||||
complete -c pg_dump -s f -l file -r -d "Output file or directory name"
|
||||
complete -c pg_dump -s F -l format -x -a "p\t'Plain text' c\t'Custom format' d\t'Directory archive' t\t'Tar archive'" -d "Output file format"
|
||||
complete -c pg_dump -s j -l jobs -x -d "Use this many parallel jobs to dump"
|
||||
complete -c pg_dump -s j -l jobs -x -d "Number of parallel jobs to dump"
|
||||
complete -c pg_dump -s v -l verbose -d "Verbose mode"
|
||||
complete -c pg_dump -s V -l version -d "Output version information, then exit"
|
||||
complete -c pg_dump -s V -l version -d "Output version information"
|
||||
complete -c pg_dump -s Z -l compress -x -d "Compression level for compressed formats"
|
||||
complete -c pg_dump -l lock-wait-timeout -x -d "Fail after waiting TIMEOUT for a table lock"
|
||||
complete -c pg_dump -l no-sync -d "Do not wait for changes to be written safely to disk"
|
||||
complete -c pg_dump -s '?' -l help -d "Show this help, then exit"
|
||||
complete -c pg_dump -s '?' -l help -d "Show this help"
|
||||
|
||||
# Options controlling the output content:
|
||||
complete -c pg_dump -s a -l data-only -d "Dump only the data, not the schema"
|
||||
|
@ -47,8 +47,8 @@ complete -c pg_dump -l quote-all-identifiers -d "Quote all identifiers, even if
|
|||
complete -c pg_dump -l section -x -a "pre-data data post-data" -d "Dump named section (pre-data, data, or post-data)"
|
||||
complete -c pg_dump -l serializable-deferrable -d "Wait until the dump can run without anomalies"
|
||||
complete -c pg_dump -l snapshot -x -d "Use given snapshot for the dump"
|
||||
complete -c pg_dump -l strict-names -d "Require table and/or schema include patterns to match at least one entity each"
|
||||
complete -c pg_dump -l use-set-session-authorization -d "Use SET SESSION AUTHORIZATION commands instead of ALTER OWNER commands to set ownership"
|
||||
complete -c pg_dump -l strict-names -d "Require table/schema include patterns to match entities"
|
||||
complete -c pg_dump -l use-set-session-authorization -d "Use SET SESSION AUTHORIZATION instead of ALTER OWNER"
|
||||
|
||||
# Connection options:
|
||||
complete -c pg_dump -s d -l dbname -x -a '(__fish_complete_pg_database)' -d "Database to dump"
|
||||
|
|
|
@ -3,9 +3,9 @@ complete -c pg_dumpall --no-files
|
|||
# General options:
|
||||
complete -c pg_dumpall -s f -l file -r -d "Output file name"
|
||||
complete -c pg_dumpall -s v -l verbose -d "Verbose mode"
|
||||
complete -c pg_dumpall -s V -l version -d "Output version information, then exit"
|
||||
complete -c pg_dumpall -s V -l version -d "Output version information"
|
||||
complete -c pg_dumpall -l lock-wait-timeout -x -d "Fail after waiting TIMEOUT for a table lock"
|
||||
complete -c pg_dumpall -s '?' -l help -d "Show this help, then exit"
|
||||
complete -c pg_dumpall -s '?' -l help -d "Show this help"
|
||||
|
||||
# Options controlling the output content:
|
||||
complete -c pg_dumpall -s a -l data-only -d "Dump only the data, not the schema"
|
||||
|
@ -35,7 +35,7 @@ complete -c pg_dumpall -l no-sync -d "Do not wait for changes to be written safe
|
|||
complete -c pg_dumpall -l no-tablespaces -d "Do not dump tablespace assignments"
|
||||
complete -c pg_dumpall -l no-unlogged-table-data -d "Do not dump unlogged table data"
|
||||
complete -c pg_dumpall -l quote-all-identifiers -d "Quote all identifiers, even if not key words"
|
||||
complete -c pg_dumpall -l use-set-session-authorization -d "Use SET SESSION AUTHORIZATION commands instead of ALTER OWNER commands to set ownership"
|
||||
complete -c pg_dumpall -l use-set-session-authorization -d "Use SET SESSION AUTHORIZATION instead of ALTER OWNER"
|
||||
|
||||
# Connection options:
|
||||
complete -c pg_dumpall -s d -l dbname -x -a '(__fish_complete_pg_database)' -d "Database to dump"
|
||||
|
|
|
@ -4,8 +4,8 @@ complete -c pg_restore -s f -l file -a - -r -d "Output file name (- for stdout)"
|
|||
complete -c pg_restore -s F -l format -x -a "c\t'Custom format (pg_dump)' d\t'Directory archive' t\t'Tar archive'" -d "Backup file format (should be automatic)"
|
||||
complete -c pg_restore -s l -l list -d "Print summarized TOC of the archive"
|
||||
complete -c pg_restore -s v -l verbose -d "Verbose mode"
|
||||
complete -c pg_restore -s V -l version -d "Output version information, then exit"
|
||||
complete -c pg_restore -s '?' -l help -d "Show help, then exit"
|
||||
complete -c pg_restore -s V -l version -d "Output version information"
|
||||
complete -c pg_restore -s '?' -l help -d "Show help"
|
||||
|
||||
# Options controlling the restore:
|
||||
complete -c pg_restore -s a -l data-only -d "Restore only the data, no schema"
|
||||
|
@ -13,8 +13,8 @@ complete -c pg_restore -s c -l clean -d "Clean (drop) database objects before re
|
|||
complete -c pg_restore -s C -l create -d "Create the target database"
|
||||
complete -c pg_restore -s e -l exit-on-error -d "Exit on error, default is to continue"
|
||||
complete -c pg_restore -s I -l index -x -d "Restore named index"
|
||||
complete -c pg_restore -s j -l jobs -x -d "Use this many parallel jobs to restore"
|
||||
complete -c pg_restore -s L -l use-list -r -d "Use table of contents from this file for selecting/ordering output"
|
||||
complete -c pg_restore -s j -l jobs -x -d "Number of parallel jobs to restore"
|
||||
complete -c pg_restore -s L -l use-list -r -d "Use table of contents from this file"
|
||||
complete -c pg_restore -s n -l schema -x -d "Restore only objects in this schema"
|
||||
complete -c pg_restore -s N -l exclude-schema -x -d "Do not restore objects in this schema"
|
||||
complete -c pg_restore -s O -l no-owner -d "Skip restoration of object ownership"
|
||||
|
@ -29,14 +29,14 @@ complete -c pg_restore -l disable-triggers -d "Disable triggers during data-only
|
|||
complete -c pg_restore -l enable-row-security -d "Enable row security"
|
||||
complete -c pg_restore -l if-exists -d "Use IF EXISTS when dropping objects"
|
||||
complete -c pg_restore -l no-comments -d "Do not restore comments"
|
||||
complete -c pg_restore -l no-data-for-failed-tables -d "Do not restore data of tables that could not be created"
|
||||
complete -c pg_restore -l no-data-for-failed-tables -d "Don't restore data of tables that could not be created"
|
||||
complete -c pg_restore -l no-publications -d "Do not restore publications"
|
||||
complete -c pg_restore -l no-security-labels -d "Do not restore security labels"
|
||||
complete -c pg_restore -l no-subscriptions -d "Do not restore subscriptions"
|
||||
complete -c pg_restore -l no-tablespaces -d "Do not restore tablespace assignments"
|
||||
complete -c pg_restore -l section -x -d "Restore named section (pre-data, data, or post-data)"
|
||||
complete -c pg_restore -l strict-names -d "Require table and/or schema include patterns to match at least one entity each"
|
||||
complete -c pg_restore -l use-set-session-authorization -d "Use SET SESSION AUTHORIZATION commands instead of ALTER OWNER commands to set ownership"
|
||||
complete -c pg_restore -l strict-names -d "Require table/schema include patterns to match entities"
|
||||
complete -c pg_restore -l use-set-session-authorization -d "Use SET SESSION AUTHORIZATION instead of ALTER OWNER"
|
||||
|
||||
# Connection options:
|
||||
complete -c pg_restore -s h -l host -x -a '(__fish_print_hostnames)' -d "Database server host or socket directory"
|
||||
|
|
Loading…
Reference in New Issue
Block a user