|
@@ -55,9 +55,10 @@ _borg() {
|
|
|
--remote-path'[set remote path to executable (default: "borg")]:_files'
|
|
|
--remote-ratelimit'[set remote network upload rate limit in kiByte/s (default: 0=unlimited)]:RATE'
|
|
|
--consider-part-files'[treat part files like normal files (e.g. to list/extract them)]'
|
|
|
- --debug-profile'[Write execution profile in Borg format into FILE.]:_files')
|
|
|
+ --debug-profile'[write execution profile in Borg format into FILE.]:_files'
|
|
|
+ --rsh'[use COMMAND instead of ssh]:COMMAND')
|
|
|
|
|
|
- borg_possible_commands=(init create extract check rename list diff delete prune info mount umount key upgrade recreate export-tar serve config with-lock break-lock benchmark)
|
|
|
+ borg_possible_commands=(init create extract check rename list diff delete prune info mount umount key upgrade recreate export-tar serve config with-lock break-lock benchmark help)
|
|
|
borg_possible_key_commands=(change-passphrase import export)
|
|
|
command=""
|
|
|
keyCommand=""
|
|
@@ -74,6 +75,7 @@ _borg() {
|
|
|
{-e,--encryption}'[select encryption key mode]:MODE'\
|
|
|
--append-only'[only allow appending to repository segment files]'\
|
|
|
--storage-quota'[Override storage quota of the repository]:QUOTA'\
|
|
|
+ --make-parent-dirs'[create parent directories]'\
|
|
|
$borg_common_options
|
|
|
;;
|
|
|
(create)
|
|
@@ -370,6 +372,11 @@ _borg() {
|
|
|
'4:path:_files'\
|
|
|
$borg_common_options
|
|
|
;;
|
|
|
+ (help)
|
|
|
+ _arguments \
|
|
|
+ '2:type:(patterns placeholders compression )'\
|
|
|
+ $borg_common_options
|
|
|
+ ;;
|
|
|
*)
|
|
|
commands=(
|
|
|
'init:initialize empty repository'
|
|
@@ -393,6 +400,7 @@ _borg() {
|
|
|
'with-lock:run user command with lock held'
|
|
|
'break-lock:break repository and cache locks'
|
|
|
'benchmark:benchmark command'
|
|
|
+ 'help:miscellaneous help'
|
|
|
)
|
|
|
|
|
|
_describe 'values' commands
|