From 9e7ddf5e5725187c2d61838295816e84349f1147 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Tue, 19 Nov 2024 01:33:46 +0100 Subject: [PATCH] add more completion Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- .../completions__completions-zsh-linux.snap | 1832 ++++++++--------- .../completions__completions-zsh-macos.snap | 1832 ++++++++--------- 2 files changed, 1832 insertions(+), 1832 deletions(-) diff --git a/tests/snapshots/completions__completions-zsh-linux.snap b/tests/snapshots/completions__completions-zsh-linux.snap index 7e952c45f..07d2d92f6 100644 --- a/tests/snapshots/completions__completions-zsh-linux.snap +++ b/tests/snapshots/completions__completions-zsh-linux.snap @@ -19,33 +19,33 @@ _rustic() { local context curcontext="$curcontext" state line _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -56,7 +56,7 @@ _rustic() { '--help[Print help (see more with '\''--help'\'')]' \ '-V[Print version]' \ '--version[Print version]' \ -'::mount:' \ +'::mount:_default' \ ":: :_rustic_commands" \ "*::: :->rustic" \ && ret=0 @@ -69,67 +69,67 @@ _rustic() { (backup) _arguments "${_arguments_options[@]}" : \ '--stdin-filename=[Set filename to be used when backing up from stdin]:FILENAME:_files' \ -'--stdin-command=[Start the given command and use its output as stdin]:COMMAND: ' \ +'--stdin-command=[Start the given command and use its output as stdin]:COMMAND:_default' \ '--as-path=[Manually set backup path in snapshot]:PATH:_files -/' \ -'-g+[Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default\: host,label,paths)]:CRITERION: ' \ -'--group-by=[Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default\: host,label,paths)]:CRITERION: ' \ -'(-f --force)--parent=[Snapshot to use as parent]:SNAPSHOT: ' \ -'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB: ' \ -'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB: ' \ -'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE: ' \ -'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE: ' \ -'*--custom-ignorefile=[Treat the provided filename like a .gitignore file (can be specified multiple times)]:FILE: ' \ -'*--exclude-if-present=[Exclude contents of directories containing this filename (can be specified multiple times)]:FILE: ' \ -'--exclude-larger-than=[Maximum size of files to be backed up. Larger files will be excluded]:SIZE: ' \ -'--label=[Label snapshot with given label]:LABEL: ' \ -'*--tag=[Tags to add to snapshot (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--description=[Add description to snapshot]:DESCRIPTION: ' \ +'-g+[Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default\: host,label,paths)]:CRITERION:_default' \ +'--group-by=[Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default\: host,label,paths)]:CRITERION:_default' \ +'(-f --force)--parent=[Snapshot to use as parent]:SNAPSHOT:_default' \ +'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB:_default' \ +'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB:_default' \ +'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE:_default' \ +'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE:_default' \ +'*--custom-ignorefile=[Treat the provided filename like a .gitignore file (can be specified multiple times)]:FILE:_default' \ +'*--exclude-if-present=[Exclude contents of directories containing this filename (can be specified multiple times)]:FILE:_default' \ +'--exclude-larger-than=[Maximum size of files to be backed up. Larger files will be excluded]:SIZE:_default' \ +'--label=[Label snapshot with given label]:LABEL:_default' \ +'*--tag=[Tags to add to snapshot (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--description=[Add description to snapshot]:DESCRIPTION:_default' \ '(--description)--description-from=[Add description to snapshot from file]:FILE:_files' \ -'--time=[Set the backup time manually]:TIME: ' \ -'--delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION: ' \ -'--host=[Set the host name manually]:NAME: ' \ -'--command=[Set the backup command manually]:COMMAND: ' \ -'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME: ' \ -'--username=[Set '\''username'\'' in public key information]:USERNAME: ' \ -'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL: ' \ -'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION: ' \ +'--time=[Set the backup time manually]:TIME:_default' \ +'--delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION:_default' \ +'--host=[Set the host name manually]:NAME:_default' \ +'--command=[Set the backup command manually]:COMMAND:_default' \ +'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME:_default' \ +'--username=[Set '\''username'\'' in public key information]:USERNAME:_default' \ +'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL:_default' \ +'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION:_default' \ '--set-append-only=[Set append-only mode. Note that only append-only commands work once this is set. \`forget\`, \`prune\` or \`config\` won'\''t work any longer]:SET_APPEND_ONLY:(true false)' \ -'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE: ' \ -'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE: ' \ -'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT: ' \ -'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT: ' \ +'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE:_default' \ +'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE:_default' \ +'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT:_default' \ +'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT:_default' \ '--set-extra-verify=[Do an extra verification by decompressing/decrypting all data before uploading to the repository. Default\: true]:SET_EXTRA_VERIFY:(true false)' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--with-atime[Save access time for files and directories]' \ '--ignore-devid[Don'\''t save device ID for files and directories]' \ '--no-scan[Don'\''t scan the backup source for its size - this disables ETA estimation for backup]' \ @@ -161,33 +161,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (cat) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -208,33 +208,33 @@ _arguments "${_arguments_options[@]}" : \ case $line[1] in (tree-blob) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -243,38 +243,38 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':id -- Id to display:' \ +':id -- Id to display:_default' \ && ret=0 ;; (data-blob) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -283,38 +283,38 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':id -- Id to display:' \ +':id -- Id to display:_default' \ && ret=0 ;; (config) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -327,33 +327,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (index) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -362,38 +362,38 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':id -- Id to display:' \ +':id -- Id to display:_default' \ && ret=0 ;; (snapshot) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -402,38 +402,38 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':id -- Id to display:' \ +':id -- Id to display:_default' \ && ret=0 ;; (tree) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -442,7 +442,7 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':snap -- Snapshot/path of the tree to display:' \ +':snap -- Snapshot/path of the tree to display:_default' \ && ret=0 ;; (help) @@ -495,45 +495,45 @@ esac ;; (config) _arguments "${_arguments_options[@]}" : \ -'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL: ' \ -'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION: ' \ +'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL:_default' \ +'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION:_default' \ '--set-append-only=[Set append-only mode. Note that only append-only commands work once this is set. \`forget\`, \`prune\` or \`config\` won'\''t work any longer]:SET_APPEND_ONLY:(true false)' \ -'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE: ' \ -'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE: ' \ -'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT: ' \ -'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT: ' \ +'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE:_default' \ +'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE:_default' \ +'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT:_default' \ +'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT:_default' \ '--set-extra-verify=[Do an extra verification by decompressing/decrypting all data before uploading to the repository. Default\: true]:SET_EXTRA_VERIFY:(true false)' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -546,33 +546,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (completions) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -586,34 +586,34 @@ _arguments "${_arguments_options[@]}" : \ ;; (check) _arguments "${_arguments_options[@]}" : \ -'--read-data-subset=[Read only a subset of the data. Allowed values\: "all", "n/m" for specific part, "x%" or a size for a random subset]:READ_DATA_SUBSET: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'--read-data-subset=[Read only a subset of the data. Allowed values\: "all", "n/m" for specific part, "x%" or a size for a random subset]:READ_DATA_SUBSET:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '(--no-cache)--trust-cache[Don'\''t verify the data saved in the cache]' \ '--read-data[Also read and check pack files]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -624,41 +624,41 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to check. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to check. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (copy) _arguments "${_arguments_options[@]}" : \ -'*--target=[Target repository (can be specified multiple times)]:TARGET: ' \ -'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME: ' \ -'--username=[Set '\''username'\'' in public key information]:USERNAME: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*--target=[Target repository (can be specified multiple times)]:TARGET:_default' \ +'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME:_default' \ +'--username=[Set '\''username'\'' in public key information]:USERNAME:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--init[Initialize non-existing target repositories]' \ '--with-created[Add '\''created'\'' date in public key information]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -669,45 +669,45 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to copy. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to copy. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (diff) _arguments "${_arguments_options[@]}" : \ -'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB: ' \ -'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB: ' \ -'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE: ' \ -'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE: ' \ -'*--custom-ignorefile=[Treat the provided filename like a .gitignore file (can be specified multiple times)]:FILE: ' \ -'*--exclude-if-present=[Exclude contents of directories containing this filename (can be specified multiple times)]:FILE: ' \ -'--exclude-larger-than=[Maximum size of files to be backed up. Larger files will be excluded]:SIZE: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB:_default' \ +'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB:_default' \ +'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE:_default' \ +'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE:_default' \ +'*--custom-ignorefile=[Treat the provided filename like a .gitignore file (can be specified multiple times)]:FILE:_default' \ +'*--exclude-if-present=[Exclude contents of directories containing this filename (can be specified multiple times)]:FILE:_default' \ +'--exclude-larger-than=[Maximum size of files to be backed up. Larger files will be excluded]:SIZE:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--metadata[show differences in metadata]' \ '--no-content[don'\''t check for different file contents]' \ '(--no-content)--only-identical[only show differences for identical files, this can be used for a bitrot test on the local path]' \ @@ -723,39 +723,39 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':snap1 -- Reference snapshot/path:' \ +':snap1 -- Reference snapshot/path:_default' \ ':snap2 -- New snapshot/path or local path \[default for PATH2\: PATH1\]:_files' \ && ret=0 ;; (docs) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -776,33 +776,33 @@ _arguments "${_arguments_options[@]}" : \ case $line[1] in (user) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -815,33 +815,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (dev) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -854,33 +854,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (config) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -929,37 +929,37 @@ esac ;; (dump) _arguments "${_arguments_options[@]}" : \ -'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB: ' \ -'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB: ' \ -'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE: ' \ -'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB:_default' \ +'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB:_default' \ +'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE:_default' \ +'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--recursive[recursively list the dir]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -969,43 +969,43 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':snap -- file from snapshot to dump:' \ +':snap -- file from snapshot to dump:_default' \ && ret=0 ;; (find) _arguments "${_arguments_options[@]}" : \ -'(--path)*--glob=[pattern to find (can be specified multiple times)]:PATTERN: ' \ -'(--path)*--iglob=[pattern to find case-insensitive (can be specified multiple times)]:PATTERN: ' \ +'(--path)*--glob=[pattern to find (can be specified multiple times)]:PATTERN:_default' \ +'(--path)*--iglob=[pattern to find case-insensitive (can be specified multiple times)]:PATTERN:_default' \ '--path=[exact path to find]:PATH:_files' \ -'-g+[Group snapshots by any combination of host,label,paths,tags]:CRITERION: ' \ -'--group-by=[Group snapshots by any combination of host,label,paths,tags]:CRITERION: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'-g+[Group snapshots by any combination of host,label,paths,tags]:CRITERION:_default' \ +'--group-by=[Group snapshots by any combination of host,label,paths,tags]:CRITERION:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--all[Show all snapshots instead of summarizing snapshots with identical search results]' \ '--show-misses[Also show snapshots which don'\''t contain a search result]' \ '--numeric-uid-gid[Show uid/gid instead of user/group]' \ @@ -1017,69 +1017,69 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to search in. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to search in. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (forget) _arguments "${_arguments_options[@]}" : \ -'-g+[Group snapshots by any combination of host,label,paths,tags (default\: "host,label,paths")]:CRITERION: ' \ -'--group-by=[Group snapshots by any combination of host,label,paths,tags (default\: "host,label,paths")]:CRITERION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ -'*--keep-tags=[Keep snapshots with this taglist (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--keep-id=[Keep snapshots ids that start with ID (can be specified multiple times)]:ID: ' \ -'-l+[Keep the last N snapshots (N == -1\: keep all snapshots)]:N: ' \ -'--keep-last=[Keep the last N snapshots (N == -1\: keep all snapshots)]:N: ' \ -'-H+[Keep the last N hourly snapshots (N == -1\: keep all hourly snapshots)]:N: ' \ -'--keep-hourly=[Keep the last N hourly snapshots (N == -1\: keep all hourly snapshots)]:N: ' \ -'-d+[Keep the last N daily snapshots (N == -1\: keep all daily snapshots)]:N: ' \ -'--keep-daily=[Keep the last N daily snapshots (N == -1\: keep all daily snapshots)]:N: ' \ -'-w+[Keep the last N weekly snapshots (N == -1\: keep all weekly snapshots)]:N: ' \ -'--keep-weekly=[Keep the last N weekly snapshots (N == -1\: keep all weekly snapshots)]:N: ' \ -'-m+[Keep the last N monthly snapshots (N == -1\: keep all monthly snapshots)]:N: ' \ -'--keep-monthly=[Keep the last N monthly snapshots (N == -1\: keep all monthly snapshots)]:N: ' \ -'--keep-quarter-yearly=[Keep the last N quarter-yearly snapshots (N == -1\: keep all quarter-yearly snapshots)]:N: ' \ -'--keep-half-yearly=[Keep the last N half-yearly snapshots (N == -1\: keep all half-yearly snapshots)]:N: ' \ -'-y+[Keep the last N yearly snapshots (N == -1\: keep all yearly snapshots)]:N: ' \ -'--keep-yearly=[Keep the last N yearly snapshots (N == -1\: keep all yearly snapshots)]:N: ' \ -'--keep-within=[Keep snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-hourly=[Keep hourly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-daily=[Keep daily snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-weekly=[Keep weekly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-monthly=[Keep monthly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-quarter-yearly=[Keep quarter-yearly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-half-yearly=[Keep half-yearly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-yearly=[Keep yearly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--max-repack=[Define maximum data to repack in % of reposize or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT: ' \ -'--max-unused=[Tolerate limit of unused data in % of reposize after pruning or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT: ' \ -'--keep-pack=[Minimum duration (e.g. 90d) to keep packs before repacking or removing. More recently created packs won'\''t be repacked or marked for deletion within this prune run]:DURATION: ' \ -'--keep-delete=[Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won'\''t be deleted within this prune run]:DURATION: ' \ +'-g+[Group snapshots by any combination of host,label,paths,tags (default\: "host,label,paths")]:CRITERION:_default' \ +'--group-by=[Group snapshots by any combination of host,label,paths,tags (default\: "host,label,paths")]:CRITERION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ +'*--keep-tags=[Keep snapshots with this taglist (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--keep-id=[Keep snapshots ids that start with ID (can be specified multiple times)]:ID:_default' \ +'-l+[Keep the last N snapshots (N == -1\: keep all snapshots)]:N:_default' \ +'--keep-last=[Keep the last N snapshots (N == -1\: keep all snapshots)]:N:_default' \ +'-H+[Keep the last N hourly snapshots (N == -1\: keep all hourly snapshots)]:N:_default' \ +'--keep-hourly=[Keep the last N hourly snapshots (N == -1\: keep all hourly snapshots)]:N:_default' \ +'-d+[Keep the last N daily snapshots (N == -1\: keep all daily snapshots)]:N:_default' \ +'--keep-daily=[Keep the last N daily snapshots (N == -1\: keep all daily snapshots)]:N:_default' \ +'-w+[Keep the last N weekly snapshots (N == -1\: keep all weekly snapshots)]:N:_default' \ +'--keep-weekly=[Keep the last N weekly snapshots (N == -1\: keep all weekly snapshots)]:N:_default' \ +'-m+[Keep the last N monthly snapshots (N == -1\: keep all monthly snapshots)]:N:_default' \ +'--keep-monthly=[Keep the last N monthly snapshots (N == -1\: keep all monthly snapshots)]:N:_default' \ +'--keep-quarter-yearly=[Keep the last N quarter-yearly snapshots (N == -1\: keep all quarter-yearly snapshots)]:N:_default' \ +'--keep-half-yearly=[Keep the last N half-yearly snapshots (N == -1\: keep all half-yearly snapshots)]:N:_default' \ +'-y+[Keep the last N yearly snapshots (N == -1\: keep all yearly snapshots)]:N:_default' \ +'--keep-yearly=[Keep the last N yearly snapshots (N == -1\: keep all yearly snapshots)]:N:_default' \ +'--keep-within=[Keep snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-hourly=[Keep hourly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-daily=[Keep daily snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-weekly=[Keep weekly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-monthly=[Keep monthly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-quarter-yearly=[Keep quarter-yearly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-half-yearly=[Keep half-yearly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-yearly=[Keep yearly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--max-repack=[Define maximum data to repack in % of reposize or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT:_default' \ +'--max-unused=[Tolerate limit of unused data in % of reposize after pruning or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT:_default' \ +'--keep-pack=[Minimum duration (e.g. 90d) to keep packs before repacking or removing. More recently created packs won'\''t be repacked or marked for deletion within this prune run]:DURATION:_default' \ +'--keep-delete=[Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won'\''t be deleted within this prune run]:DURATION:_default' \ '--repack-cacheable-only=[Only repack packs which are cacheable \[default\: true for a hot/cold repository, else false\]]:TRUE/FALSE:(true false)' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ '--json[Show infos in json format]' \ '(--json)--quiet[Don'\''t show any output]' \ '--prune[Also prune the repository]' \ @@ -1098,52 +1098,52 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to forget. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to forget. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (init) _arguments "${_arguments_options[@]}" : \ -'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME: ' \ -'--username=[Set '\''username'\'' in public key information]:USERNAME: ' \ -'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL: ' \ -'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION: ' \ +'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME:_default' \ +'--username=[Set '\''username'\'' in public key information]:USERNAME:_default' \ +'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL:_default' \ +'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION:_default' \ '--set-append-only=[Set append-only mode. Note that only append-only commands work once this is set. \`forget\`, \`prune\` or \`config\` won'\''t work any longer]:SET_APPEND_ONLY:(true false)' \ -'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE: ' \ -'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE: ' \ -'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT: ' \ -'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT: ' \ +'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE:_default' \ +'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE:_default' \ +'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT:_default' \ +'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT:_default' \ '--set-extra-verify=[Do an extra verification by decompressing/decrypting all data before uploading to the repository. Default\: true]:SET_EXTRA_VERIFY:(true false)' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--with-created[Add '\''created'\'' date in public key information]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1157,33 +1157,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (key) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -1204,38 +1204,38 @@ _arguments "${_arguments_options[@]}" : \ case $line[1] in (add) _arguments "${_arguments_options[@]}" : \ -'--new-password=[New password]:NEW_PASSWORD: ' \ +'--new-password=[New password]:NEW_PASSWORD:_default' \ '--new-password-file=[File from which to read the new password]:NEW_PASSWORD_FILE:_files' \ -'--new-password-command=[Command to get the new password from]:NEW_PASSWORD_COMMAND: ' \ -'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME: ' \ -'--username=[Set '\''username'\'' in public key information]:USERNAME: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'--new-password-command=[Command to get the new password from]:NEW_PASSWORD_COMMAND:_default' \ +'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME:_default' \ +'--username=[Set '\''username'\'' in public key information]:USERNAME:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--with-created[Add '\''created'\'' date in public key information]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1277,33 +1277,33 @@ esac ;; (list) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -1317,37 +1317,37 @@ _arguments "${_arguments_options[@]}" : \ ;; (ls) _arguments "${_arguments_options[@]}" : \ -'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB: ' \ -'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB: ' \ -'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE: ' \ -'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB:_default' \ +'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB:_default' \ +'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE:_default' \ +'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '(--json)-s[show summary]' \ '(--json)--summary[show summary]' \ '(--json)-l[show long listing]' \ @@ -1363,46 +1363,46 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':snap -- Snapshot/path to list:' \ +':snap -- Snapshot/path to list:_default' \ && ret=0 ;; (merge) _arguments "${_arguments_options[@]}" : \ -'--label=[Label snapshot with given label]:LABEL: ' \ -'*--tag=[Tags to add to snapshot (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--description=[Add description to snapshot]:DESCRIPTION: ' \ +'--label=[Label snapshot with given label]:LABEL:_default' \ +'*--tag=[Tags to add to snapshot (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--description=[Add description to snapshot]:DESCRIPTION:_default' \ '(--description)--description-from=[Add description to snapshot from file]:FILE:_files' \ -'--time=[Set the backup time manually]:TIME: ' \ -'--delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION: ' \ -'--host=[Set the host name manually]:NAME: ' \ -'--command=[Set the backup command manually]:COMMAND: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'--time=[Set the backup time manually]:TIME:_default' \ +'--delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION:_default' \ +'--host=[Set the host name manually]:NAME:_default' \ +'--command=[Set the backup command manually]:COMMAND:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--json[Output generated snapshot in json format]' \ '--delete[Remove input snapshots after merging]' \ '(--delete-after)--delete-never[Mark snapshot as uneraseable]' \ @@ -1414,40 +1414,40 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to merge. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to merge. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (snapshots) _arguments "${_arguments_options[@]}" : \ -'-g+[Group snapshots by any combination of host,label,paths,tags]:CRITERION: ' \ -'--group-by=[Group snapshots by any combination of host,label,paths,tags]:CRITERION: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'-g+[Group snapshots by any combination of host,label,paths,tags]:CRITERION:_default' \ +'--group-by=[Group snapshots by any combination of host,label,paths,tags]:CRITERION:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--long[Show detailed information about snapshots]' \ '(--long)--json[Show snapshots in json format]' \ '(--long --json)--all[Show all snapshots instead of summarizing identical follow-up snapshots]' \ @@ -1461,38 +1461,38 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to show. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to show. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (show-config) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -1505,33 +1505,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (self-update) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '(-n --dry-run)--force[Do not ask before processing the self-update]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1545,38 +1545,38 @@ _arguments "${_arguments_options[@]}" : \ ;; (prune) _arguments "${_arguments_options[@]}" : \ -'--max-repack=[Define maximum data to repack in % of reposize or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT: ' \ -'--max-unused=[Tolerate limit of unused data in % of reposize after pruning or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT: ' \ -'--keep-pack=[Minimum duration (e.g. 90d) to keep packs before repacking or removing. More recently created packs won'\''t be repacked or marked for deletion within this prune run]:DURATION: ' \ -'--keep-delete=[Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won'\''t be deleted within this prune run]:DURATION: ' \ +'--max-repack=[Define maximum data to repack in % of reposize or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT:_default' \ +'--max-unused=[Tolerate limit of unused data in % of reposize after pruning or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT:_default' \ +'--keep-pack=[Minimum duration (e.g. 90d) to keep packs before repacking or removing. More recently created packs won'\''t be repacked or marked for deletion within this prune run]:DURATION:_default' \ +'--keep-delete=[Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won'\''t be deleted within this prune run]:DURATION:_default' \ '--repack-cacheable-only=[Only repack packs which are cacheable \[default\: true for a hot/cold repository, else false\]]:TRUE/FALSE:(true false)' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--instant-delete[Delete files immediately instead of marking them. This also removes all files already marked for deletion]' \ '--early-delete-index[Delete index files early. This allows to run prune if there is few or no space left]' \ '--fast-repack[Simply copy blobs when repacking instead of decrypting; possibly compressing; encrypting]' \ @@ -1595,37 +1595,37 @@ _arguments "${_arguments_options[@]}" : \ ;; (restore) _arguments "${_arguments_options[@]}" : \ -'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB: ' \ -'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB: ' \ -'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE: ' \ -'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB:_default' \ +'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB:_default' \ +'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE:_default' \ +'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ '--delete[Remove all files/dirs in destination which are not contained in snapshot]' \ '--numeric-id[Use numeric ids instead of user/group when restoring uid/gui]' \ '(--numeric-id)--no-ownership[Don'\''t restore ownership (user/group)]' \ @@ -1639,39 +1639,39 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':snap -- Snapshot/path to restore:' \ -':dest -- Restore destination:' \ +':snap -- Snapshot/path to restore:_default' \ +':dest -- Restore destination:_default' \ && ret=0 ;; (repair) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -1692,33 +1692,33 @@ _arguments "${_arguments_options[@]}" : \ case $line[1] in (index) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--read-all[Read all data packs, i.e. completely re-create the index]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1732,35 +1732,35 @@ _arguments "${_arguments_options[@]}" : \ ;; (snapshots) _arguments "${_arguments_options[@]}" : \ -'--suffix=[Append this suffix to repaired directory or file name]:SUFFIX: ' \ -'*--tag=[Tag list to set on repaired snapshots (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'--suffix=[Append this suffix to repaired directory or file name]:SUFFIX:_default' \ +'*--tag=[Tag list to set on repaired snapshots (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--delete[Also remove defect snapshots]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1770,7 +1770,7 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to repair. If none is given, use filter to filter from all snapshots:' \ +'*::ids -- Snapshots to repair. If none is given, use filter to filter from all snapshots:_default' \ && ret=0 ;; (help) @@ -1807,33 +1807,33 @@ esac ;; (repoinfo) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--only-files[Only scan repository files (doesn'\''t need repository password)]' \ '--only-index[Only scan index]' \ '--json[Show infos in json format]' \ @@ -1849,37 +1849,37 @@ _arguments "${_arguments_options[@]}" : \ ;; (tag) _arguments "${_arguments_options[@]}" : \ -'(--remove)*--add=[Tags to add (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--remove=[Tags to remove (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'(--remove)*--set=[Tag list to set (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--set-delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'(--remove)*--add=[Tags to add (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--remove=[Tags to remove (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'(--remove)*--set=[Tag list to set (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--set-delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '(--set-delete-never --set-delete-after)--remove-delete[Remove any delete mark]' \ '(--set-delete-after)--set-delete-never[Mark snapshot as uneraseable]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1890,42 +1890,42 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to change tags. If none is given, use filter to filter from all snapshots:' \ +'*::ids -- Snapshots to change tags. If none is given, use filter to filter from all snapshots:_default' \ && ret=0 ;; (webdav) _arguments "${_arguments_options[@]}" : \ -'--address=[Address to bind the webdav server to. \[default\: "localhost\:8000"\]]:ADDRESS: ' \ -'--path-template=[The path template to use for snapshots. {id}, {id_long}, {time}, {username}, {hostname}, {label}, {tags}, {backup_start}, {backup_end} are replaced. \[default\: "\[{hostname}\]/\[{label}\]/{time}"\]]:PATH_TEMPLATE: ' \ -'--time-template=[The time template to use to display times in the path template. See https\://docs.rs/chrono/latest/chrono/format/strftime/index.html for format options. \[default\: "%Y-%m-%d_%H-%M-%S"\]]:TIME_TEMPLATE: ' \ -'--file-access=[How to handle access to files. \[default\: "forbidden" for hot/cold repositories, else "read"\]]:FILE_ACCESS: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'--address=[Address to bind the webdav server to. \[default\: "localhost\:8000"\]]:ADDRESS:_default' \ +'--path-template=[The path template to use for snapshots. {id}, {id_long}, {time}, {username}, {hostname}, {label}, {tags}, {backup_start}, {backup_end} are replaced. \[default\: "\[{hostname}\]/\[{label}\]/{time}"\]]:PATH_TEMPLATE:_default' \ +'--time-template=[The time template to use to display times in the path template. See https\://docs.rs/chrono/latest/chrono/format/strftime/index.html for format options. \[default\: "%Y-%m-%d_%H-%M-%S"\]]:TIME_TEMPLATE:_default' \ +'--file-access=[How to handle access to files. \[default\: "forbidden" for hot/cold repositories, else "read"\]]:FILE_ACCESS:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--symlinks[Use symlinks. This may not be supported by all WebDAV clients]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1935,7 +1935,7 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'::snapshot_path -- Specify directly which snapshot/path to serve:' \ +'::snapshot_path -- Specify directly which snapshot/path to serve:_default' \ && ret=0 ;; (help) diff --git a/tests/snapshots/completions__completions-zsh-macos.snap b/tests/snapshots/completions__completions-zsh-macos.snap index 7e952c45f..07d2d92f6 100644 --- a/tests/snapshots/completions__completions-zsh-macos.snap +++ b/tests/snapshots/completions__completions-zsh-macos.snap @@ -19,33 +19,33 @@ _rustic() { local context curcontext="$curcontext" state line _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -56,7 +56,7 @@ _rustic() { '--help[Print help (see more with '\''--help'\'')]' \ '-V[Print version]' \ '--version[Print version]' \ -'::mount:' \ +'::mount:_default' \ ":: :_rustic_commands" \ "*::: :->rustic" \ && ret=0 @@ -69,67 +69,67 @@ _rustic() { (backup) _arguments "${_arguments_options[@]}" : \ '--stdin-filename=[Set filename to be used when backing up from stdin]:FILENAME:_files' \ -'--stdin-command=[Start the given command and use its output as stdin]:COMMAND: ' \ +'--stdin-command=[Start the given command and use its output as stdin]:COMMAND:_default' \ '--as-path=[Manually set backup path in snapshot]:PATH:_files -/' \ -'-g+[Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default\: host,label,paths)]:CRITERION: ' \ -'--group-by=[Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default\: host,label,paths)]:CRITERION: ' \ -'(-f --force)--parent=[Snapshot to use as parent]:SNAPSHOT: ' \ -'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB: ' \ -'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB: ' \ -'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE: ' \ -'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE: ' \ -'*--custom-ignorefile=[Treat the provided filename like a .gitignore file (can be specified multiple times)]:FILE: ' \ -'*--exclude-if-present=[Exclude contents of directories containing this filename (can be specified multiple times)]:FILE: ' \ -'--exclude-larger-than=[Maximum size of files to be backed up. Larger files will be excluded]:SIZE: ' \ -'--label=[Label snapshot with given label]:LABEL: ' \ -'*--tag=[Tags to add to snapshot (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--description=[Add description to snapshot]:DESCRIPTION: ' \ +'-g+[Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default\: host,label,paths)]:CRITERION:_default' \ +'--group-by=[Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default\: host,label,paths)]:CRITERION:_default' \ +'(-f --force)--parent=[Snapshot to use as parent]:SNAPSHOT:_default' \ +'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB:_default' \ +'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB:_default' \ +'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE:_default' \ +'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE:_default' \ +'*--custom-ignorefile=[Treat the provided filename like a .gitignore file (can be specified multiple times)]:FILE:_default' \ +'*--exclude-if-present=[Exclude contents of directories containing this filename (can be specified multiple times)]:FILE:_default' \ +'--exclude-larger-than=[Maximum size of files to be backed up. Larger files will be excluded]:SIZE:_default' \ +'--label=[Label snapshot with given label]:LABEL:_default' \ +'*--tag=[Tags to add to snapshot (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--description=[Add description to snapshot]:DESCRIPTION:_default' \ '(--description)--description-from=[Add description to snapshot from file]:FILE:_files' \ -'--time=[Set the backup time manually]:TIME: ' \ -'--delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION: ' \ -'--host=[Set the host name manually]:NAME: ' \ -'--command=[Set the backup command manually]:COMMAND: ' \ -'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME: ' \ -'--username=[Set '\''username'\'' in public key information]:USERNAME: ' \ -'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL: ' \ -'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION: ' \ +'--time=[Set the backup time manually]:TIME:_default' \ +'--delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION:_default' \ +'--host=[Set the host name manually]:NAME:_default' \ +'--command=[Set the backup command manually]:COMMAND:_default' \ +'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME:_default' \ +'--username=[Set '\''username'\'' in public key information]:USERNAME:_default' \ +'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL:_default' \ +'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION:_default' \ '--set-append-only=[Set append-only mode. Note that only append-only commands work once this is set. \`forget\`, \`prune\` or \`config\` won'\''t work any longer]:SET_APPEND_ONLY:(true false)' \ -'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE: ' \ -'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE: ' \ -'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT: ' \ -'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT: ' \ +'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE:_default' \ +'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE:_default' \ +'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT:_default' \ +'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT:_default' \ '--set-extra-verify=[Do an extra verification by decompressing/decrypting all data before uploading to the repository. Default\: true]:SET_EXTRA_VERIFY:(true false)' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--with-atime[Save access time for files and directories]' \ '--ignore-devid[Don'\''t save device ID for files and directories]' \ '--no-scan[Don'\''t scan the backup source for its size - this disables ETA estimation for backup]' \ @@ -161,33 +161,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (cat) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -208,33 +208,33 @@ _arguments "${_arguments_options[@]}" : \ case $line[1] in (tree-blob) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -243,38 +243,38 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':id -- Id to display:' \ +':id -- Id to display:_default' \ && ret=0 ;; (data-blob) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -283,38 +283,38 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':id -- Id to display:' \ +':id -- Id to display:_default' \ && ret=0 ;; (config) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -327,33 +327,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (index) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -362,38 +362,38 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':id -- Id to display:' \ +':id -- Id to display:_default' \ && ret=0 ;; (snapshot) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -402,38 +402,38 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':id -- Id to display:' \ +':id -- Id to display:_default' \ && ret=0 ;; (tree) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -442,7 +442,7 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':snap -- Snapshot/path of the tree to display:' \ +':snap -- Snapshot/path of the tree to display:_default' \ && ret=0 ;; (help) @@ -495,45 +495,45 @@ esac ;; (config) _arguments "${_arguments_options[@]}" : \ -'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL: ' \ -'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION: ' \ +'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL:_default' \ +'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION:_default' \ '--set-append-only=[Set append-only mode. Note that only append-only commands work once this is set. \`forget\`, \`prune\` or \`config\` won'\''t work any longer]:SET_APPEND_ONLY:(true false)' \ -'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE: ' \ -'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE: ' \ -'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT: ' \ -'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT: ' \ +'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE:_default' \ +'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE:_default' \ +'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT:_default' \ +'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT:_default' \ '--set-extra-verify=[Do an extra verification by decompressing/decrypting all data before uploading to the repository. Default\: true]:SET_EXTRA_VERIFY:(true false)' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -546,33 +546,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (completions) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -586,34 +586,34 @@ _arguments "${_arguments_options[@]}" : \ ;; (check) _arguments "${_arguments_options[@]}" : \ -'--read-data-subset=[Read only a subset of the data. Allowed values\: "all", "n/m" for specific part, "x%" or a size for a random subset]:READ_DATA_SUBSET: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'--read-data-subset=[Read only a subset of the data. Allowed values\: "all", "n/m" for specific part, "x%" or a size for a random subset]:READ_DATA_SUBSET:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '(--no-cache)--trust-cache[Don'\''t verify the data saved in the cache]' \ '--read-data[Also read and check pack files]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -624,41 +624,41 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to check. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to check. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (copy) _arguments "${_arguments_options[@]}" : \ -'*--target=[Target repository (can be specified multiple times)]:TARGET: ' \ -'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME: ' \ -'--username=[Set '\''username'\'' in public key information]:USERNAME: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*--target=[Target repository (can be specified multiple times)]:TARGET:_default' \ +'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME:_default' \ +'--username=[Set '\''username'\'' in public key information]:USERNAME:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--init[Initialize non-existing target repositories]' \ '--with-created[Add '\''created'\'' date in public key information]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -669,45 +669,45 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to copy. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to copy. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (diff) _arguments "${_arguments_options[@]}" : \ -'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB: ' \ -'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB: ' \ -'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE: ' \ -'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE: ' \ -'*--custom-ignorefile=[Treat the provided filename like a .gitignore file (can be specified multiple times)]:FILE: ' \ -'*--exclude-if-present=[Exclude contents of directories containing this filename (can be specified multiple times)]:FILE: ' \ -'--exclude-larger-than=[Maximum size of files to be backed up. Larger files will be excluded]:SIZE: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB:_default' \ +'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB:_default' \ +'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE:_default' \ +'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE:_default' \ +'*--custom-ignorefile=[Treat the provided filename like a .gitignore file (can be specified multiple times)]:FILE:_default' \ +'*--exclude-if-present=[Exclude contents of directories containing this filename (can be specified multiple times)]:FILE:_default' \ +'--exclude-larger-than=[Maximum size of files to be backed up. Larger files will be excluded]:SIZE:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--metadata[show differences in metadata]' \ '--no-content[don'\''t check for different file contents]' \ '(--no-content)--only-identical[only show differences for identical files, this can be used for a bitrot test on the local path]' \ @@ -723,39 +723,39 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':snap1 -- Reference snapshot/path:' \ +':snap1 -- Reference snapshot/path:_default' \ ':snap2 -- New snapshot/path or local path \[default for PATH2\: PATH1\]:_files' \ && ret=0 ;; (docs) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -776,33 +776,33 @@ _arguments "${_arguments_options[@]}" : \ case $line[1] in (user) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -815,33 +815,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (dev) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -854,33 +854,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (config) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -929,37 +929,37 @@ esac ;; (dump) _arguments "${_arguments_options[@]}" : \ -'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB: ' \ -'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB: ' \ -'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE: ' \ -'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB:_default' \ +'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB:_default' \ +'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE:_default' \ +'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--recursive[recursively list the dir]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -969,43 +969,43 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':snap -- file from snapshot to dump:' \ +':snap -- file from snapshot to dump:_default' \ && ret=0 ;; (find) _arguments "${_arguments_options[@]}" : \ -'(--path)*--glob=[pattern to find (can be specified multiple times)]:PATTERN: ' \ -'(--path)*--iglob=[pattern to find case-insensitive (can be specified multiple times)]:PATTERN: ' \ +'(--path)*--glob=[pattern to find (can be specified multiple times)]:PATTERN:_default' \ +'(--path)*--iglob=[pattern to find case-insensitive (can be specified multiple times)]:PATTERN:_default' \ '--path=[exact path to find]:PATH:_files' \ -'-g+[Group snapshots by any combination of host,label,paths,tags]:CRITERION: ' \ -'--group-by=[Group snapshots by any combination of host,label,paths,tags]:CRITERION: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'-g+[Group snapshots by any combination of host,label,paths,tags]:CRITERION:_default' \ +'--group-by=[Group snapshots by any combination of host,label,paths,tags]:CRITERION:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--all[Show all snapshots instead of summarizing snapshots with identical search results]' \ '--show-misses[Also show snapshots which don'\''t contain a search result]' \ '--numeric-uid-gid[Show uid/gid instead of user/group]' \ @@ -1017,69 +1017,69 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to search in. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to search in. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (forget) _arguments "${_arguments_options[@]}" : \ -'-g+[Group snapshots by any combination of host,label,paths,tags (default\: "host,label,paths")]:CRITERION: ' \ -'--group-by=[Group snapshots by any combination of host,label,paths,tags (default\: "host,label,paths")]:CRITERION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ -'*--keep-tags=[Keep snapshots with this taglist (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--keep-id=[Keep snapshots ids that start with ID (can be specified multiple times)]:ID: ' \ -'-l+[Keep the last N snapshots (N == -1\: keep all snapshots)]:N: ' \ -'--keep-last=[Keep the last N snapshots (N == -1\: keep all snapshots)]:N: ' \ -'-H+[Keep the last N hourly snapshots (N == -1\: keep all hourly snapshots)]:N: ' \ -'--keep-hourly=[Keep the last N hourly snapshots (N == -1\: keep all hourly snapshots)]:N: ' \ -'-d+[Keep the last N daily snapshots (N == -1\: keep all daily snapshots)]:N: ' \ -'--keep-daily=[Keep the last N daily snapshots (N == -1\: keep all daily snapshots)]:N: ' \ -'-w+[Keep the last N weekly snapshots (N == -1\: keep all weekly snapshots)]:N: ' \ -'--keep-weekly=[Keep the last N weekly snapshots (N == -1\: keep all weekly snapshots)]:N: ' \ -'-m+[Keep the last N monthly snapshots (N == -1\: keep all monthly snapshots)]:N: ' \ -'--keep-monthly=[Keep the last N monthly snapshots (N == -1\: keep all monthly snapshots)]:N: ' \ -'--keep-quarter-yearly=[Keep the last N quarter-yearly snapshots (N == -1\: keep all quarter-yearly snapshots)]:N: ' \ -'--keep-half-yearly=[Keep the last N half-yearly snapshots (N == -1\: keep all half-yearly snapshots)]:N: ' \ -'-y+[Keep the last N yearly snapshots (N == -1\: keep all yearly snapshots)]:N: ' \ -'--keep-yearly=[Keep the last N yearly snapshots (N == -1\: keep all yearly snapshots)]:N: ' \ -'--keep-within=[Keep snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-hourly=[Keep hourly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-daily=[Keep daily snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-weekly=[Keep weekly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-monthly=[Keep monthly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-quarter-yearly=[Keep quarter-yearly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-half-yearly=[Keep half-yearly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--keep-within-yearly=[Keep yearly snapshots newer than DURATION relative to latest snapshot]:DURATION: ' \ -'--max-repack=[Define maximum data to repack in % of reposize or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT: ' \ -'--max-unused=[Tolerate limit of unused data in % of reposize after pruning or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT: ' \ -'--keep-pack=[Minimum duration (e.g. 90d) to keep packs before repacking or removing. More recently created packs won'\''t be repacked or marked for deletion within this prune run]:DURATION: ' \ -'--keep-delete=[Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won'\''t be deleted within this prune run]:DURATION: ' \ +'-g+[Group snapshots by any combination of host,label,paths,tags (default\: "host,label,paths")]:CRITERION:_default' \ +'--group-by=[Group snapshots by any combination of host,label,paths,tags (default\: "host,label,paths")]:CRITERION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ +'*--keep-tags=[Keep snapshots with this taglist (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--keep-id=[Keep snapshots ids that start with ID (can be specified multiple times)]:ID:_default' \ +'-l+[Keep the last N snapshots (N == -1\: keep all snapshots)]:N:_default' \ +'--keep-last=[Keep the last N snapshots (N == -1\: keep all snapshots)]:N:_default' \ +'-H+[Keep the last N hourly snapshots (N == -1\: keep all hourly snapshots)]:N:_default' \ +'--keep-hourly=[Keep the last N hourly snapshots (N == -1\: keep all hourly snapshots)]:N:_default' \ +'-d+[Keep the last N daily snapshots (N == -1\: keep all daily snapshots)]:N:_default' \ +'--keep-daily=[Keep the last N daily snapshots (N == -1\: keep all daily snapshots)]:N:_default' \ +'-w+[Keep the last N weekly snapshots (N == -1\: keep all weekly snapshots)]:N:_default' \ +'--keep-weekly=[Keep the last N weekly snapshots (N == -1\: keep all weekly snapshots)]:N:_default' \ +'-m+[Keep the last N monthly snapshots (N == -1\: keep all monthly snapshots)]:N:_default' \ +'--keep-monthly=[Keep the last N monthly snapshots (N == -1\: keep all monthly snapshots)]:N:_default' \ +'--keep-quarter-yearly=[Keep the last N quarter-yearly snapshots (N == -1\: keep all quarter-yearly snapshots)]:N:_default' \ +'--keep-half-yearly=[Keep the last N half-yearly snapshots (N == -1\: keep all half-yearly snapshots)]:N:_default' \ +'-y+[Keep the last N yearly snapshots (N == -1\: keep all yearly snapshots)]:N:_default' \ +'--keep-yearly=[Keep the last N yearly snapshots (N == -1\: keep all yearly snapshots)]:N:_default' \ +'--keep-within=[Keep snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-hourly=[Keep hourly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-daily=[Keep daily snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-weekly=[Keep weekly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-monthly=[Keep monthly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-quarter-yearly=[Keep quarter-yearly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-half-yearly=[Keep half-yearly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--keep-within-yearly=[Keep yearly snapshots newer than DURATION relative to latest snapshot]:DURATION:_default' \ +'--max-repack=[Define maximum data to repack in % of reposize or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT:_default' \ +'--max-unused=[Tolerate limit of unused data in % of reposize after pruning or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT:_default' \ +'--keep-pack=[Minimum duration (e.g. 90d) to keep packs before repacking or removing. More recently created packs won'\''t be repacked or marked for deletion within this prune run]:DURATION:_default' \ +'--keep-delete=[Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won'\''t be deleted within this prune run]:DURATION:_default' \ '--repack-cacheable-only=[Only repack packs which are cacheable \[default\: true for a hot/cold repository, else false\]]:TRUE/FALSE:(true false)' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ '--json[Show infos in json format]' \ '(--json)--quiet[Don'\''t show any output]' \ '--prune[Also prune the repository]' \ @@ -1098,52 +1098,52 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to forget. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to forget. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (init) _arguments "${_arguments_options[@]}" : \ -'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME: ' \ -'--username=[Set '\''username'\'' in public key information]:USERNAME: ' \ -'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL: ' \ -'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION: ' \ +'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME:_default' \ +'--username=[Set '\''username'\'' in public key information]:USERNAME:_default' \ +'--set-compression=[Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression]:LEVEL:_default' \ +'--set-version=[Set repository version. Allowed versions\: 1,2]:VERSION:_default' \ '--set-append-only=[Set append-only mode. Note that only append-only commands work once this is set. \`forget\`, \`prune\` or \`config\` won'\''t work any longer]:SET_APPEND_ONLY:(true false)' \ -'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE: ' \ -'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE: ' \ -'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR: ' \ -'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE: ' \ -'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT: ' \ -'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT: ' \ +'--set-treepack-size=[Set default packsize for tree packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`4 MiB\` if not set]:SIZE:_default' \ +'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-treepack-growfactor=[Set grow factor for tree packs. The default packsize grows by the square root of the total size of all tree packs multiplied with this factor. This means 32 kiB times this factor per square root of total treesize in GiB. Defaults to \`32\` (= 1MB per square root of total treesize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size=[Set default packsize for data packs. rustic tries to always produce packs greater than this value. Note that for large repos, this value is grown by the grown factor. Defaults to \`32 MiB\` if not set]:SIZE:_default' \ +'--set-datapack-growfactor=[Set grow factor for data packs. The default packsize grows by the square root of the total size of all data packs multiplied with this factor. This means 32 kiB times this factor per square root of total datasize in GiB. Defaults to \`32\` (= 1MB per square root of total datasize in GiB) if not set]:FACTOR:_default' \ +'--set-datapack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get a bit larger. If not set, pack sizes can grow up to approximately \`4 GiB\`]:SIZE:_default' \ +'--set-min-packsize-tolerate-percent=[Set minimum tolerated packsize in percent of the targeted packsize. Defaults to \`30\` if not set]:PERCENT:_default' \ +'--set-max-packsize-tolerate-percent=[Set maximum tolerated packsize in percent of the targeted packsize A value of \`0\` means packs larger than the targeted packsize are always tolerated. Default if not set\: larger packfiles are always tolerated]:PERCENT:_default' \ '--set-extra-verify=[Do an extra verification by decompressing/decrypting all data before uploading to the repository. Default\: true]:SET_EXTRA_VERIFY:(true false)' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--with-created[Add '\''created'\'' date in public key information]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1157,33 +1157,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (key) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -1204,38 +1204,38 @@ _arguments "${_arguments_options[@]}" : \ case $line[1] in (add) _arguments "${_arguments_options[@]}" : \ -'--new-password=[New password]:NEW_PASSWORD: ' \ +'--new-password=[New password]:NEW_PASSWORD:_default' \ '--new-password-file=[File from which to read the new password]:NEW_PASSWORD_FILE:_files' \ -'--new-password-command=[Command to get the new password from]:NEW_PASSWORD_COMMAND: ' \ -'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME: ' \ -'--username=[Set '\''username'\'' in public key information]:USERNAME: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'--new-password-command=[Command to get the new password from]:NEW_PASSWORD_COMMAND:_default' \ +'--hostname=[Set '\''hostname'\'' in public key information]:HOSTNAME:_default' \ +'--username=[Set '\''username'\'' in public key information]:USERNAME:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--with-created[Add '\''created'\'' date in public key information]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1277,33 +1277,33 @@ esac ;; (list) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -1317,37 +1317,37 @@ _arguments "${_arguments_options[@]}" : \ ;; (ls) _arguments "${_arguments_options[@]}" : \ -'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB: ' \ -'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB: ' \ -'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE: ' \ -'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB:_default' \ +'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB:_default' \ +'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE:_default' \ +'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '(--json)-s[show summary]' \ '(--json)--summary[show summary]' \ '(--json)-l[show long listing]' \ @@ -1363,46 +1363,46 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':snap -- Snapshot/path to list:' \ +':snap -- Snapshot/path to list:_default' \ && ret=0 ;; (merge) _arguments "${_arguments_options[@]}" : \ -'--label=[Label snapshot with given label]:LABEL: ' \ -'*--tag=[Tags to add to snapshot (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--description=[Add description to snapshot]:DESCRIPTION: ' \ +'--label=[Label snapshot with given label]:LABEL:_default' \ +'*--tag=[Tags to add to snapshot (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--description=[Add description to snapshot]:DESCRIPTION:_default' \ '(--description)--description-from=[Add description to snapshot from file]:FILE:_files' \ -'--time=[Set the backup time manually]:TIME: ' \ -'--delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION: ' \ -'--host=[Set the host name manually]:NAME: ' \ -'--command=[Set the backup command manually]:COMMAND: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'--time=[Set the backup time manually]:TIME:_default' \ +'--delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION:_default' \ +'--host=[Set the host name manually]:NAME:_default' \ +'--command=[Set the backup command manually]:COMMAND:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--json[Output generated snapshot in json format]' \ '--delete[Remove input snapshots after merging]' \ '(--delete-after)--delete-never[Mark snapshot as uneraseable]' \ @@ -1414,40 +1414,40 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to merge. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to merge. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (snapshots) _arguments "${_arguments_options[@]}" : \ -'-g+[Group snapshots by any combination of host,label,paths,tags]:CRITERION: ' \ -'--group-by=[Group snapshots by any combination of host,label,paths,tags]:CRITERION: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'-g+[Group snapshots by any combination of host,label,paths,tags]:CRITERION:_default' \ +'--group-by=[Group snapshots by any combination of host,label,paths,tags]:CRITERION:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--long[Show detailed information about snapshots]' \ '(--long)--json[Show snapshots in json format]' \ '(--long --json)--all[Show all snapshots instead of summarizing identical follow-up snapshots]' \ @@ -1461,38 +1461,38 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to show. If none is given, use filter options to filter from all snapshots:' \ +'*::ids -- Snapshots to show. If none is given, use filter options to filter from all snapshots:_default' \ && ret=0 ;; (show-config) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -1505,33 +1505,33 @@ _arguments "${_arguments_options[@]}" : \ ;; (self-update) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '(-n --dry-run)--force[Do not ask before processing the self-update]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1545,38 +1545,38 @@ _arguments "${_arguments_options[@]}" : \ ;; (prune) _arguments "${_arguments_options[@]}" : \ -'--max-repack=[Define maximum data to repack in % of reposize or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT: ' \ -'--max-unused=[Tolerate limit of unused data in % of reposize after pruning or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT: ' \ -'--keep-pack=[Minimum duration (e.g. 90d) to keep packs before repacking or removing. More recently created packs won'\''t be repacked or marked for deletion within this prune run]:DURATION: ' \ -'--keep-delete=[Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won'\''t be deleted within this prune run]:DURATION: ' \ +'--max-repack=[Define maximum data to repack in % of reposize or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT:_default' \ +'--max-unused=[Tolerate limit of unused data in % of reposize after pruning or as size (e.g. '\''5b'\'', '\''2 kB'\'', '\''3M'\'', '\''4TiB'\'') or '\''unlimited'\'']:LIMIT:_default' \ +'--keep-pack=[Minimum duration (e.g. 90d) to keep packs before repacking or removing. More recently created packs won'\''t be repacked or marked for deletion within this prune run]:DURATION:_default' \ +'--keep-delete=[Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won'\''t be deleted within this prune run]:DURATION:_default' \ '--repack-cacheable-only=[Only repack packs which are cacheable \[default\: true for a hot/cold repository, else false\]]:TRUE/FALSE:(true false)' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--instant-delete[Delete files immediately instead of marking them. This also removes all files already marked for deletion]' \ '--early-delete-index[Delete index files early. This allows to run prune if there is few or no space left]' \ '--fast-repack[Simply copy blobs when repacking instead of decrypting; possibly compressing; encrypting]' \ @@ -1595,37 +1595,37 @@ _arguments "${_arguments_options[@]}" : \ ;; (restore) _arguments "${_arguments_options[@]}" : \ -'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB: ' \ -'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB: ' \ -'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE: ' \ -'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*--glob=[Glob pattern to exclude/include (can be specified multiple times)]:GLOB:_default' \ +'*--iglob=[Same as --glob pattern but ignores the casing of filenames]:GLOB:_default' \ +'*--glob-file=[Read glob patterns to exclude/include from this file (can be specified multiple times)]:FILE:_default' \ +'*--iglob-file=[Same as --glob-file ignores the casing of filenames in patterns]:FILE:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ '--delete[Remove all files/dirs in destination which are not contained in snapshot]' \ '--numeric-id[Use numeric ids instead of user/group when restoring uid/gui]' \ '(--numeric-id)--no-ownership[Don'\''t restore ownership (user/group)]' \ @@ -1639,39 +1639,39 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -':snap -- Snapshot/path to restore:' \ -':dest -- Restore destination:' \ +':snap -- Snapshot/path to restore:_default' \ +':dest -- Restore destination:_default' \ && ret=0 ;; (repair) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--check-index[Check if index matches pack files and read pack headers if necessary]' \ @@ -1692,33 +1692,33 @@ _arguments "${_arguments_options[@]}" : \ case $line[1] in (index) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--read-all[Read all data packs, i.e. completely re-create the index]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1732,35 +1732,35 @@ _arguments "${_arguments_options[@]}" : \ ;; (snapshots) _arguments "${_arguments_options[@]}" : \ -'--suffix=[Append this suffix to repaired directory or file name]:SUFFIX: ' \ -'*--tag=[Tag list to set on repaired snapshots (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'--suffix=[Append this suffix to repaired directory or file name]:SUFFIX:_default' \ +'*--tag=[Tag list to set on repaired snapshots (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--delete[Also remove defect snapshots]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1770,7 +1770,7 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to repair. If none is given, use filter to filter from all snapshots:' \ +'*::ids -- Snapshots to repair. If none is given, use filter to filter from all snapshots:_default' \ && ret=0 ;; (help) @@ -1807,33 +1807,33 @@ esac ;; (repoinfo) _arguments "${_arguments_options[@]}" : \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--only-files[Only scan repository files (doesn'\''t need repository password)]' \ '--only-index[Only scan index]' \ '--json[Show infos in json format]' \ @@ -1849,37 +1849,37 @@ _arguments "${_arguments_options[@]}" : \ ;; (tag) _arguments "${_arguments_options[@]}" : \ -'(--remove)*--add=[Tags to add (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--remove=[Tags to remove (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'(--remove)*--set=[Tag list to set (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--set-delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'(--remove)*--add=[Tags to add (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--remove=[Tags to remove (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'(--remove)*--set=[Tag list to set (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--set-delete-after=[Mark snapshot to be deleted after given duration (e.g. 10d)]:DURATION:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '(--set-delete-never --set-delete-after)--remove-delete[Remove any delete mark]' \ '(--set-delete-after)--set-delete-never[Mark snapshot as uneraseable]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1890,42 +1890,42 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::ids -- Snapshots to change tags. If none is given, use filter to filter from all snapshots:' \ +'*::ids -- Snapshots to change tags. If none is given, use filter to filter from all snapshots:_default' \ && ret=0 ;; (webdav) _arguments "${_arguments_options[@]}" : \ -'--address=[Address to bind the webdav server to. \[default\: "localhost\:8000"\]]:ADDRESS: ' \ -'--path-template=[The path template to use for snapshots. {id}, {id_long}, {time}, {username}, {hostname}, {label}, {tags}, {backup_start}, {backup_end} are replaced. \[default\: "\[{hostname}\]/\[{label}\]/{time}"\]]:PATH_TEMPLATE: ' \ -'--time-template=[The time template to use to display times in the path template. See https\://docs.rs/chrono/latest/chrono/format/strftime/index.html for format options. \[default\: "%Y-%m-%d_%H-%M-%S"\]]:TIME_TEMPLATE: ' \ -'--file-access=[How to handle access to files. \[default\: "forbidden" for hot/cold repositories, else "read"\]]:FILE_ACCESS: ' \ -'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE: ' \ -'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL: ' \ +'--address=[Address to bind the webdav server to. \[default\: "localhost\:8000"\]]:ADDRESS:_default' \ +'--path-template=[The path template to use for snapshots. {id}, {id_long}, {time}, {username}, {hostname}, {label}, {tags}, {backup_start}, {backup_end} are replaced. \[default\: "\[{hostname}\]/\[{label}\]/{time}"\]]:PATH_TEMPLATE:_default' \ +'--time-template=[The time template to use to display times in the path template. See https\://docs.rs/chrono/latest/chrono/format/strftime/index.html for format options. \[default\: "%Y-%m-%d_%H-%M-%S"\]]:TIME_TEMPLATE:_default' \ +'--file-access=[How to handle access to files. \[default\: "forbidden" for hot/cold repositories, else "read"\]]:FILE_ACCESS:_default' \ +'*-P+[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'*--use-profile=[Config profile to use. This parses the file \`.toml\` in the config directory. \[default\: "rustic"\]]:PROFILE:_default' \ +'--log-level=[Use this log level \[default\: info\]]:LOG_LEVEL:_default' \ '--log-file=[Write log messages to the given file instead of printing them]:LOGFILE:_files' \ -'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION: ' \ +'(--no-progress)--progress-interval=[Interval to update progress bars]:DURATION:_default' \ '-r+[Repository to use]:REPOSITORY:_files -/' \ '--repository=[Repository to use]:REPOSITORY:_files -/' \ '--repo=[Repository to use]:REPOSITORY:_files -/' \ -'--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository]:PASSWORD: ' \ +'--repo-hot=[Repository to use as hot storage]:REPO_HOT:_default' \ +'--password=[Password of the repository]:PASSWORD:_default' \ '(--password)-p+[File to read the password from]:PASSWORD_FILE:_files' \ '(--password)--password-file=[File to read the password from]:PASSWORD_FILE:_files' \ -'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND:_default' \ '(--no-cache)--cache-dir=[Use this dir as cache dir instead of the standard cache dir]:CACHE_DIR:_files -/' \ -'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND: ' \ -'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION: ' \ -'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME: ' \ -'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL: ' \ -'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]: ' \ -'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]: ' \ -'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME): ' \ -'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME): ' \ -'--filter-size=[Only use snapshots with total size in given range]:SIZE: ' \ -'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE: ' \ -'--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'(--warm-up)--warm-up-command=[Warm up needed data pack files by running the command with %id replaced by pack id]:WARM_UP_COMMAND:_default' \ +'--warm-up-wait=[Duration (e.g. 10m) to wait after warm up]:DURATION:_default' \ +'*--filter-host=[Hostname to filter (can be specified multiple times)]:HOSTNAME:_default' \ +'*--filter-label=[Label to filter (can be specified multiple times)]:LABEL:_default' \ +'*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-paths-exact=[Path list to filter exactly (no superset) as given (can be specified multiple times)]:PATH[,PATH,..]:_default' \ +'*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'*--filter-tags-exact=[Tag list to filter exactly (no superset) as given (can be specified multiple times)]:TAG[,TAG,..]:_default' \ +'--filter-after=[Only use snapshots which are taken after the given given date/time]:DATE(TIME):_default' \ +'--filter-before=[Only use snapshots which are taken before the given given date/time]:DATE(TIME):_default' \ +'--filter-size=[Only use snapshots with total size in given range]:SIZE:_default' \ +'--filter-size-added=[Only use snapshots with size added to the repo in given range]:SIZE:_default' \ +'--filter-fn=[Function to filter snapshots]:FUNC:_default' \ '--symlinks[Use symlinks. This may not be supported by all WebDAV clients]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -1935,7 +1935,7 @@ _arguments "${_arguments_options[@]}" : \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'::snapshot_path -- Specify directly which snapshot/path to serve:' \ +'::snapshot_path -- Specify directly which snapshot/path to serve:_default' \ && ret=0 ;; (help)