diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..56efe847e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,1146 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [0.6.0] - 2023-10-23 + +### Breaking Changes + +- We refactored to + [`rustic_core`](https://www.github.com/rustic-rs/rustic_core). This means that + most of the underlying logic can now be used as a library. The CLI is now a + thin wrapper around the library. This also means that the CLI is now much more + customizable. Please check out the + [documentation](https://rustic.cli.rs/docs/getting_started.html) for more + information. + +### Bug Fixes + +- Retrying backend access didn't work for long operations. This has been fixed + (and retries are now customizable) +- Prune did abort when no time was set for a pack-do-delete. This case is now + handled correctly. +- The zstd compression library led to data corruption in very unlikely cases. + This has been fixed by a dependency update. +- The glob option did only work with absolute files. This has been fixed. +- Non-unicode link targets are now correctly handled on Unix (after this has + been added to the restic repo format). +- The `--dry-run` option now works as expected in the `init` command. + +### Features + +- New global configuration paths are available, located at `/etc/rustic/*.toml` + or `%PROGRAMDATA%/rustic/config/*.toml`, depending on your platform. +- REST backend: Now allows to use custom TLS root certificates. +- Environment variables for programms called by rustic can now be set in the + config files. +- Creation of new keys now enforces confirmation of entered key. This helps to + prevent mistype of passwords during the initial entry +- Wait for password-command to successfully exit, allowing to input something + into the command, and read password from stdout. +- backup: New option --init to initialize repository if it doesn't exist yet. +- backup: New option `no-require-git` - if enabled, a git repository is not + required to apply `git-ignore` rule. +- restore: The restore algorithm has been improved and should now be faster for + remote repositories. +- restore: Files are now allocated just before being first processed. This + allows easier resumed restores. +- repoinfo: Added new options --json, --only-files, --only-index. +- check: Add check if time is set for packs-to-delete. +- ls: Options --long (-l) and --summary (-s) have been added. +- forget: Option --json has been added. + +## [0.5.4] - 2023-06-05 + +### Bug Fixes + +- backup crashed when there was a non-unicode link target. The crash has been + fixed. However, non-unicode link targets are still unsupported. +- Extended attributes which were saved with value null couldn't be handled. This + has been fixed. +- prune: --max-repack didn't work with a given percentage of repo size. This has + been fixed. + +### Features + +- copy: Added --init option to initialize uninitialized target repos +- dependencies have been updated + +### Miscellaneous Tasks + +- Bump serde_with from 2.3.2 to 2.3.3 +- Bump clap from 4.2.4 to 4.2.5 +- Bump reqwest from 0.11.16 to 0.11.17 + +### Backup + +- Don't crash on non-unicode link targets + +### Comparison-restic + +- Fix typo + +### Copy + +- Add --init option + +### Prune + +- Fix --max-repack + +### Xattrs + +- Allow null value in JSON + +## [0.5.3] - 2023-04-25 + +### Breaking Changes + +- config file: use-config now expects an array of config profiles to read. + +### Bug Fixes + +- The [[backup.sources]] section in the config file was ignored 0.5.2. This has + been fixed. + +### Features + +- The show-config command has been added. + +### Backup + +- Fix omitting sources config from the config file + +## [0.5.2] - 2023-04-24 + +### Breaking Changes + +- The CLI option `--config-profile` was renamed into `--use-profile` (same + shortcut `-P`). + +### Bug Fixes + +- restore: Warm-up options given by the command line didn't work. This has been + fixed. +- backup: showed 1 dir as changed when backing up without parent. This has been + fixed. +- diff: The options --no-atime and --ignore-devid had no effect and are now + removed. +- Rustic's check of additional fields in the config file didn't work in edge + cases. This has been fixed. + +### Features + +- backup: Backing up (small) files has been speed-optimized and is now much more + parallelized. +- Config file: New field use-profile under [global] allows to merge options from + other config profiles +- Option --dry-run is now a global option and can also be defined in the config + file or via env variable +- forget: Using "-1" as value for --keep-* options will keep all snapshots of + that interval +- prune: Added option --repack-all + +### Documentation + +- Add config file containing all options + +### Miscellaneous Tasks + +- Bump h2 from 0.3.16 to 0.3.17 +- Bump aho-corasick from 0.7.20 to 1.0.0 +- Bump clap from 4.2.2 to 4.2.3 +- Bump clap from 4.2.3 to 4.2.4 +- Bump dunce from 1.0.3 to 1.0.4 +- Bump libc from 0.2.141 to 0.2.142 +- Bump clap_complete from 4.2.0 to 4.2.1 +- Bump aho-corasick from 1.0.0 to 1.0.1 +- Parallelize processing (especially for small files) + +### Backup + +- Fix dir stats + +### Diff + +- Remove unwanted options + +### Forget + +- Interpret '--keep-* -1' as 'keep all' + +### Prune + +- Add option --repack-all + +## [0.5.1] - 2023-04-13 + +### Breaking Changes + +- ls: Added option `--recursive`, note: default is now non-recursive if a path + is given. + +### Bug Fixes + +- Fixed compilation on OpenBSD. +- Fixed shell completions. +- REST backend displayed the connection password in the log. This has been + changed. +- restore: Existing symlinks displayed an error. This is now corrected if the + `--delete` option is used. +- restore: Setting ownership/permissons/times for symlinks failed. This has been + fixed. +- Spaces in paths did not work when given in the config file. This has been + fixed. +- backup --stdin-filename did not use the given filename. This has been fixed. +- backup always displayed at least 1 dir as changed. This has been corrected. +- Windows: Backup of the path prefix (e.g. C: -> C/) did not work. This has been + fixed. + +### Features + +- REST backend: Set User-Agent header. +- ls: Added option `--recursive`. +- ls: Added glob options to exclude/include. +- restore: Added glob options to exclude/include. +- restore: xattrs treatment has been improved. +- Dependencies have been updated. + +### Miscellaneous Tasks + +- Bump serde_json from 1.0.94 to 1.0.95 +- Bump reqwest from 0.11.15 to 0.11.16 +- Bump serde from 1.0.158 to 1.0.159 +- Bump serde-aux from 4.1.2 to 4.2.0 +- Bump libc from 0.2.140 to 0.2.141 +- Bump filetime from 0.2.20 to 0.2.21 +- Bump serde_with from 2.3.1 to 2.3.2 +- Bump serde from 1.0.159 to 1.0.160 +- Bump serde_json from 1.0.95 to 1.0.96 + +### Windows + +- Backup path prefix + +### Backup + +- Allow to treat whitespaces in paths in config file +- Fix --stdin-filename +- Only show changed dirs if there are changes + +### Ls + +- Add option --recursive + +### Repository + +- Use location in log + +### Restore + +- Treat all existing contents correctly +- Add glob options to include/exclude patterns +- Don't follow symlinks when setting time/modes + +### Restore/ls + +- Add glob options to include/exclude patterns + +### Restore/xattr + +- Improve implementation and errors + +## [0.5.0] - 2023-03-24 + +### Breaking Changes + +- Repository options in the config file can no longer be given under the + `[global]` section. Use `[repository]` instead. +- Backing up multiple sources on the command line now results in one instead of + several snapshots. + +### Bug Fixes + +- `restore` command did not restore empty files. This is fixed. +- `config` command did save the config file compressed which violates the repo + design. This is fixed. +- rustic did panic when files with missing `content` field are stored in a tree. + This is fixed. + +### Features + +- Experimental windows support has been added. +- New option --filter-fn allows to implement your own snapshot filter using the + Rhai language. +- New command dump has been added. +- New command merge has been added. +- Support for extended file attributes has been added. +- REST/Rclone backend: Allow to set the request timeout. +- Extra or wrong fields in the config file now lead to rustic complaining and + aborting. +- New option --no-progress has been added. +- Option --progress-interval can now also be given as command argument and in + the config file. +- backup: Paths are now sanitized from command arguments and config file before + matching and applying the configuration. +- restore: Add --no-ownership option +- check --read-data: progress bar now also shows total bytes to check and ETA. +- The archiver implementation has been reworked. This will allow more backup + sources in future. +- Updated to Rust 1.68 and many dependency updates + +### Miscellaneous Tasks + +- Bump simplelog from 0.12.0 to 0.12.1 +- Bump rayon from 1.6.1 to 1.7.0 +- Bump serde_json from 1.0.93 to 1.0.94 +- Bump thiserror from 1.0.38 to 1.0.39 +- Bump serde from 1.0.152 to 1.0.153 +- Bump serde from 1.0.153 to 1.0.154 +- Bump libc from 0.2.139 to 0.2.140 +- Bump serde_with from 2.2.0 to 2.3.1 +- Bump scrypt from 0.10.0 to 0.11.0 +- Bump chrono from 0.4.23 to 0.4.24 +- Bump semver from 1.0.16 to 1.0.17 +- Bump toml from 0.7.2 to 0.7.3 +- Bump serde from 1.0.154 to 1.0.156 +- Bump enum-map from 2.4.2 to 2.5.0 +- Bump walkdir from 2.3.2 to 2.3.3 +- Bump directories from 4.0.1 to 5.0.0 +- Bump rstest from 0.16.0 to 0.17.0 +- Bump dirs from 4.0.0 to 5.0.0 + +### Windows + +- Allow repos to start with drive letter + +### Archiver + +- Rework implementation + +### Backup + +- Fix problem with multiple sources in config +- Separate creating of common snapshot info + +### Config + +- Save config file uncompressed + +### Keyfile + +- Use serde_with::base64 + +### Merge + +- Respect delete-never and delete-after options +- Set timestamp + +### Restore + +- Add --no-ownership option +- Fix restoring of empty files + +### Windows + +- Treat UNC paths +- Treat path prefixes + +## [0.4.4] - 2023-02-28 + +### Bug Fixes + +- Integrated the cdc crate as it currently doesn't compile with current Rust. + This allows to upload rustic to crates.io. +- restore: Don't abort on errors, but print a warning and continue +- REST backend now ignores extra files in repository, as local backend does. +- init did not work for hot/cold repos. This is fixed. +- A password file without a newline didn't work. This is fixed. +- Removed error in case of password in file not ending with \n + +### Features + +- diff/restore: Allow to use a single file as target and treat it correctly +- local backend: Added possibility to add hooks. This can be used e.g. to + automatically generate .par2 files for your local repo. +- backup: Added option --json +- The chunker implementation has been optimized +- Default grouping now includes grouping by labels +- Added OpenBSD as platform +- Many version updates of dependencies + +### Miscellaneous Tasks + +- Bump nix from 0.26.1 to 0.26.2 +- Bump reqwest from 0.11.13 to 0.11.14 +- Bump toml from 0.5.10 to 0.5.11 +- Bump toml from 0.5.11 to 0.7.0 +- Bump toml from 0.7.0 to 0.7.1 +- Bump bytes from 1.3.0 to 1.4.0 +- Bump zstd from 0.12.2+zstd.1.5.2 to 0.12.3+zstd.1.5.2 +- Bump tokio from 1.24.1 to 1.25.0 +- Bump anyhow from 1.0.68 to 1.0.69 +- Bump binrw from 0.10.0 to 0.11.1 +- Bump serde_json from 1.0.91 to 1.0.92 +- Bump toml from 0.7.1 to 0.7.2 +- Bump filetime from 0.2.19 to 0.2.20 +- Bump serde_json from 1.0.92 to 1.0.93 +- Bump self_update from 0.34.0 to 0.35.0 +- Bump self_update from 0.35.0 to 0.36.0 +- Bump bytesize from 1.1.0 to 1.2.0 +- Bump base64 from 0.20.0 to 0.21.0 + +### REST + +- Use only valid ids when listing names + +### Backup + +- Add option --json + +### Chunker + +- Optimizations + +### Diff/restore + +- Treat single file destination properly + +### Group-by + +- Default to host,label,path + +### Helpers + +- Remove unnecessay mut + +### Init + +- Fix creating hot/cold repo + +### Restore + +- Don't abort on delete errors + +## [0.4.3] - 2023-01-17 + +### Bug Fixes + +- A bug in `prune` could lead to removal of needed data in the case of duplicate + blobs within one pack. This is fixed. +- An inaccuracy in the packer could lead to identical blobs saved within the + same pack. This is fixed. +- check: Reported errors when the cache contained more pack files than the + repository. This is fixed. +- password-command didn't work correctly when calling a shell with an argument. + This is fixed. + +### Features + +- warm-up options can now be configured in the config file. +- repair index: Added better debug output and error handling. +- Added better error handling when opening a repository. +- Improved allocations when parsing/printing ids. + +### Miscellaneous Tasks + +- Bump ignore from 0.4.18 to 0.4.19 +- Bump serde_with from 2.1.0 to 2.2.0 +- Bump zstd from 0.12.1+zstd.1.5.2 to 0.12.2+zstd.1.5.2 +- Bump nom from 7.1.2 to 7.1.3 + +### Packer + +- Add checks to avoid saving duplicate blobs + +### Prune + +- Fix check for needed packs + +### Repair + +- Better debug info and error handling +- Add more checks for edge cases + +### Repository + +- Integrate warm-up options + +## [0.4.2] - 2023-01-04 + +### Bug Fixes + +- rclone backend did not work with unexpected version output. This is now fixed, + also support for rclone > 1.61 is added. +- restore: restore with existing files/dirs but wrong type did not succeed. This + is fixed now. +- All command except `backup` and `prune` did not compress snapshot and index + files, even for v2 repos. This is now fixed. + +### Features + +- Added the `copy` command: Many targets are supported and a nice output table + shows which snapshots are to be copied. See also #358. +- The syntax : now also works if is a file, e.g. in the + `restore` command. +- restore: Existing files with correct size and mtime are not read by default; + new option --verify-existing. +- restore: Improved output of what restore is about to do (also in --dry-run + mode). +- diff: Make output more similar to `restic diff`; added option `--metadata`. +- diff: When diffing with a local dir, local files are now read and the content + is compared; new option --no-content. +- backup: Improved parallelization. +- Updated to Rust 1.66 and many updates of dependent crate versions. +- Some minor code and performance improvements. + +### Miscellaneous Tasks + +- Bump serde from 1.0.148 to 1.0.149 +- Bump zstd from 0.12.0+zstd.1.5.2 to 0.12.1+zstd.1.5.2 +- Bump filetime from 0.2.18 to 0.2.19 +- Bump rayon from 1.6.0 to 1.6.1 +- Bump serde from 1.0.149 to 1.0.150 +- Bump base64 from 0.13.1 to 0.20.0 +- Bump toml from 0.5.9 to 0.5.10 +- Bump serde from 1.0.150 to 1.0.151 +- Bump semver from 1.0.14 to 1.0.16 +- Bump enum-map from 2.4.1 to 2.4.2 +- Bump serde_json from 1.0.89 to 1.0.91 +- Bump enum-map-derive from 0.10.0 to 0.11.0 +- Bump thiserror from 1.0.37 to 1.0.38 +- Bump anyhow from 1.0.66 to 1.0.68 +- Bump libc from 0.2.138 to 0.2.139 +- Bump serde from 1.0.151 to 1.0.152 +- Bump self_update from 0.32.0 to 0.33.0 +- Bump self_update from 0.33.0 to 0.34.0 +- Bump comfy-table from 6.1.3 to 6.1.4 + +### Backup + +- Use rayon to parallelize hashing + +### Diff + +- Add options --metadata and --no-content + +### Restore + +- Overwork treatment of existing files +- Rename option --ignore-mtime into --verify-existing + +## [0.4.1] - 2022-12-03 + +### Bug Fixes + +- Fixed a possible deadlock in the archiver which could cause `rustic backup` to + hang. +- Piping output no longer panices (this allows e.g. to pipe into `head`). +- Fixed progress bar showing 0B/s instead of real rate. + +### Features + +- backup: Errors reading the parent now print a warning instead of being + silently ignored. +- forget: Allow to keep quarter- and half-yearly. +- Improved the error handling for some situations. + +### DecryptBackend + +- Better error handling + +### Miscellaneous Tasks + +- Bump zstd from 0.11.2+zstd.1.5.2 to 0.12.0+zstd.1.5.2 +- Bump rpassword from 7.1.0 to 7.2.0 +- Bump rstest from 0.15.0 to 0.16.0 +- Bump serde from 1.0.147 to 1.0.148 +- Bump nix from 0.25.0 to 0.26.1 +- Bump gethostname from 0.4.0 to 0.4.1 + +### Build.sh + +- Add optional parameters + +### Forget + +- Add options to keep snapshots quarter-yearly and half-yearly + +### Parent + +- Improve error handling + +### Snapshots + +- Simplify grouping + +## [0.4.0] - 2022-11-23 + +### Bug Fixes + +- Fixed a bug in the CI which sometimes made building beta executables fail. + +### Features + +- Snapshots now allow to use a label, to add a description and save the program + version used. +- diff: diff can now compare snapshots with local dirs. +- backup: Added option --as-path. +- backup: Allow to use and save relative paths. +- backup: Added option --ignore-devid. +- backup: Now uses more parallelization. +- prune: Repacking is now parallel. +- New commands repair index/snapshots. +- Better support for using latest as snapshot. +- UI/progress bars: Added support for env variable RUSTIC_PROGRESS_INTERVALL. +- Simplified the code in some places. + +### Other Changes + +- rustic no longer uses async Rust. +- Replaced prettytables by comfytable. (Thanks @JMarkin) + +### CI + +- Fix typo + +### Miscellaneous Tasks + +- Bump serde_json from 1.0.85 to 1.0.86 +- Bump gethostname from 0.2.3 to 0.3.0 +- Bump path-absolutize from 3.0.13 to 3.0.14 +- Bump async-trait from 0.1.57 to 0.1.58 +- Bump serde_json from 1.0.86 to 1.0.87 +- Bump rpassword from 7.0.0 to 7.1.0 +- Bump anyhow from 1.0.65 to 1.0.66 +- Bump filetime from 0.2.17 to 0.2.18 +- Bump serde from 1.0.145 to 1.0.147 +- Bump base64 from 0.13.0 to 0.13.1 +- Bump clap from 3.2.22 to 3.2.23 +- Bump gethostname from 0.3.0 to 0.4.0 +- Bump serde-aux from 4.0.0 to 4.1.0 +- Bump indicatif from 0.17.1 to 0.17.2 +- Bump chrono from 0.4.22 to 0.4.23 +- Bump reqwest from 0.11.12 to 0.11.13 +- Bump serde_with from 2.0.1 to 2.1.0 +- Bump Swatinem/rust-cache from 1 to 2 +- Bump rayon from 1.5.3 to 1.6.0 +- Bump serde_json from 1.0.87 to 1.0.88 + +### Progress + +- Add support for env variable RUSTIC_PROGRESS_INTERVAL + +### Archiver + +- Parallelize packing + +### Backup + +- Add --as-path option +- Add option --ignore-devid +- Allow relative paths +- Add option --group-by and use it for parent detection + +### Cat/ls/restore + +- Add filtering for latest snapshot + +### Diff + +- Allow to diff with local path +- Allow to use latest when diffing with local dir + +### Forget + +- Fix table header + +### Index + +- Parallelize sorting the index + +### Prune + +- Parallelize repacking + +### Snapshot + +- Add program version +- Add label +- Add description field + +## [0.3.2] - 2022-10-07 + +### Breaking changes + +- Logging is completely reworked. New option --log-level replaces --verbose and + --quiet + +# Fixes + +- Fixed broken error handling in REST/rclone backend some error kinds. +- Don't prompt for password in init command if it is given. + +### Features + +- New option --log-file allows logging to a file +- New command completions to generate shell completions +- check: Added --read-data option +- check: Improved error handling and error messages +- rest/rclone backend: Abort immediately at permanent errors. +- restore: better debug output to see what restore exactly will do +- rclone backend no longer needs a temp dir. This meas rustic now doesn't need a + temp dir at all. +- Nicer display of snapshot groups +- Added blackbox test using bats +- Shell completions ([#195](https://github.com/rustic-rs/rustic/issues/195)) + +### Miscellaneous Tasks + +- Bump self_update from 0.31.0 to 0.32.0 +- Bump sha2 from 0.10.5 to 0.10.6 +- Bump sha1 from 0.10.4 to 0.10.5 +- Bump clap from 3.2.21 to 3.2.22 +- Bump binrw from 0.9.2 to 0.10.0 +- Bump itertools from 0.10.4 to 0.10.5 +- Bump reqwest from 0.11.11 to 0.11.12 +- Bump serde from 1.0.144 to 1.0.145 +- Bump semver from 1.0.13 to 1.0.14 +- Bump tokio from 1.21.1 to 1.21.2 +- Bump thiserror from 1.0.35 to 1.0.37 + +### README + +- Update to match restic 0.14 + +### Backup + +- Add --host option + +### Check + +- Optimize error handling and messages +- Add --read-data + +### Init + +- Use password if given + +### Restore + +- Print what will be done in debug log + +## [0.3.1] - 2022-09-15 + +### Note + +Changing the binary name to rustic is a breaking change with respect to the +self-update command. This means rustic 0.3.0 can *NOT* be updated using +self-update. Please download the binaries manually instead. + +### Bug Fixes + +- change escaping of filename to get identical result as restic +- fix performance regression because of filename escaping +- chunker: Fixed chunker such that chunks of MINSIZE are possible. +- prune: Fix option --max-repack; now also works when resizing packs. + +### Features + +- Changed name of binary from rustic-rs to rustic +- Added config file support (see examples in `config/` dir) +- Added options --password and --password-command (and equivalents as env + variables and config file options) +- snapshots: Summarize fully identical snapshots in snapshots command; added + option --all. +- snapshots: Grouping by hosts and paths is now the default. +- snapshots: Added --json option +- backup: Allow backing up multiple source paths +- backup: Allow backup from stdin +- backup/parent detection now uses ctime and mtime; new options --ignore-mtime + and --ignore-inode +- backup: Added option --exclude-larger-than +- forget: Always remove snapshots when ID is given +- prune: Only resize small packs when target packsize will be reached. +- prune: Added option --no-resize +- chunker: Increase buffer size to speed up chunking +- Added aarch64-apple-darwin as supported platform + +### CI + +- Add support for aarch64-apple-darwin + +### Miscellaneous Tasks + +- Bump serde_json from 1.0.83 to 1.0.85 +- Bump serde from 1.0.143 to 1.0.144 +- Bump clap from 3.2.17 to 3.2.18 +- Bump futures from 0.3.23 to 0.3.24 +- Bump sha1 from 0.10.1 to 0.10.2 +- Bump clap from 3.2.18 to 3.2.19 +- Bump sha2 from 0.10.2 to 0.10.3 +- Bump thiserror from 1.0.32 to 1.0.33 +- Bump anyhow from 1.0.62 to 1.0.63 +- Bump clap from 3.2.19 to 3.2.20 +- Bump sha1 from 0.10.2 to 0.10.4 +- Bump sha2 from 0.10.3 to 0.10.5 +- Bump serde-aux from 3.2.0 to 4.0.0 +- Bump self_update from 0.30.0 to 0.31.0 +- Bump serde_with from 2.0.0 to 2.0.1 +- Strip via config, not manually +- Bump clap from 3.2.20 to 3.2.21 +- Bump thiserror from 1.0.34 to 1.0.35 +- Bump anyhow from 1.0.64 to 1.0.65 +- Bump tokio from 1.21.0 to 1.21.1 +- Bump itertools from 0.10.3 to 0.10.4 +- Correct audit.yml + +### Backup + +- Speed up searching for parent node +- Add option --exclude-larger-than +- Better improve help text for exclude options +- Allow to use stdin as source +- Allow multiple sources + +### Backup/parent + +- Use ctime and mtime; add --ignore options + +### Chunker + +- Allow chunks of MIN_SIZE +- Increase buffer size to 64kiB + +### Forget + +- Don't apply keep policy for given ids + +### Prune + +- Fix max-repack option +- Only resize if target packsize is reached +- Add option --no-resize + +### Snapshots + +- Summarize snapshots with identical trees +- Group by hosts and paths as default +- Add --json option + +## [0.3.0] - 2022-08-18 + +### Fixes + +- config command could invalidate config file on local backend + +### Features + +- backup: Added escaping of filenames to be compatible with restic +- backup: Don't use temporary files, but save incomplete pack files in-memory +- Allow to limit pack sizes +- rest/rclone backend: Retry operations if they failing +- restore: Use existing files to speed up restore (also makes restore resumable) +- restore: Added --delete option to delete existing files not in snapshot +- restore/prune: Added warm-up possibilities for hot/cold repo +- prune: Remove unneeded packs from cache +- prune: Added repacking of packs which are too small or too large +- self-update: New command to update rustic +- Added syntax SNAPSHOT[:PATH] for many command to access sub-trees within + snapshots +- Added support for environmental variables +- Improved help texts + +### CI + +- Release beta builds to github.com/rustic-rs/rustic-beta +- Correct beta builds +- Use direct shell script as action doesn't support macos +- Fix ssh key for beta releases +- Correct repo name for beta builds +- Update rust-cache +- Fix typo +- Fix errors with dependabot +- Fix dependabot PRs +- Fix typo + +### Miscellaneous Tasks + +- Allow to optionally specify a path within snapshot +- Allow to optionally specify a path within snapshot +- Bump actions/checkout from 2 to 3 +- Bump clap from 3.2.16 to 3.2.17 +- Bump serde_json from 1.0.82 to 1.0.83 +- Bump anyhow from 1.0.58 to 1.0.61 +- Bump nix from 0.24.2 to 0.25.0 +- Bump serde from 1.0.140 to 1.0.143 +- Bump thiserror from 1.0.31 to 1.0.32 +- Bump rpassword from 6.0.1 to 7.0.0 +- Bump async-trait from 0.1.56 to 0.1.57 +- Bump futures from 0.3.21 to 0.3.23 +- Bump anyhow from 1.0.61 to 1.0.62 +- Bump chrono from 0.4.19 to 0.4.22 +- Bump prettytable-rs from 0.8.0 to 0.9.0 + +### Tree + +- Add function subtree_id and use in cat + +### Index + +- Add tests + +### Packer + +- Don't use temporary files + +### Prune + +- Add waiting options +- Remove unneded pack files from cache and add option --cache-only +- Repack packs which are too small or too large + +### Restore + +- Use existing fileparts +- Add warm-up options +- Add --delete options +- Add option warm-up-wait + +### Warmup + +- Set retry to false + +## [0.2.3] - 2022-07-28 + +### Prune + +- Fixed a critical bug which corrupted the repo when repacking compressed data +- Add progress bar for repacking +- Fix repo corruption with compressed blobs + +### Restore + +- Improve progress bar + +## [0.2.2] - 2022-07-26 + +- added possibility to specify a hot repo (added --repo-hot option) +- added rclone backend and made reading/writing remote repos with higher latency + working +- new command config; added possibility to customize compression level +- added possibility to customize pack sizes. Also changed the standard settings + for pack size. +- fixed erroneous caching of data pack files +- check: new option --trust-cache +- improved speed of packer +- prune: new options --instant-delete, --repack-uncompressed, --fast-repack +- prune: option --repack-cacheable-only now expects true/false and default to + true for hot/cold repos +- snapshots: allow to specify "latest" which only displays the latest + snapshot(s) +- restore: fixed order of setting permission; improved error handling and debug + output + +### Backend + +- Add cacheable to remove() + +### Backup/prune + +- Use compression from config file + +### Cat + +- Don't require an id + +### Check + +- Add option --trust-cache + +### Config + +- Fix saving config file for hot/cold repo + +### Init + +- Add config options + +### Prune + +- Add option --instant-delete +- Add options --repack-uncompressed and --fast-repack +- Use Tree/Data.total_after_prune for repacking +- Default value for --repack-cacheable-only from config + +### Rclone + +- Fix url and allow debug output + +### Repoinfo + +- Add info about hot repo +- Add information about pack sizes + +### Restore + +- Be more verbose by default +- Restore metadata of dir after its contents +- Improve error handling +- Fix dir already exists error +- Print detailed information at high verbosity + +### Snapshots + +- Allow argument "latest" + +## [0.2.1] - 2022-07-08 + +- add support for local cache (adds --no-cache and --cache-dir options) +- added --prune option to forget +- restore: display and ignore most errors during restore +- restore: handle much more cases +- fix chunker for empty files +- REST backend: fix url path +- Local backend: fix treatment of additional files +- added fully support special files +- Allow specifying global options with subommands + +### CLI + +- Make most options global; change texts + +### Miscellaneous Tasks + +- Add support for special files +- Create special files + +### Backend + +- Always use anyhow::Result + +### Backup + +- Always store uid/gid + +### Cache + +- Add Option --cache-dir and use restic/rustic cache dir +- Make options more obvious to work with + +### Check + +- Add check for valid cache files + +### Chunker + +- Correct treatment of empty files + +### Forget + +- Add --prune option + +### Restore + +- Use correct file modes when restoring +- Restore user/group +- Add option --numeric-id +- Restore times +- Add error handling + +## [0.2.0-rc3] - 2022-06-13 + +### CI + +- Use cache for tests + +## [0.2.0-rc2] - 2022-06-13 + +### CI + +- Don't accept clippy warnings +- Add automatic release builds + +### Miscellaneous Tasks + +- Add changed status for special files + +### Prune + +- Do not recover uneccessarily + +## [0.2.0-rc1] - 2022-06-04 + +- new commands: init, forget, prune, repoinfo, tag, key +- allow parallel lock-free repo access including prune +- added REST backend +- add compression support +- add support for other unix OSes, e.g. macOS +- most operations are now parallelized (using async rust) +- added more statistical information to snapshots +- allow to mark snapshots as uneraseable or to be deleted at given time +- now uses the same JSON format for trees/nodes as restic +- better progress bars + +### Archiver + +- Add statistics +- Use Node from source instead of from parent + +### Backup + +- Also save metadata +- Add --with-atime option +- Actually only one source +- Add --force option +- Much more options +- Only open files when they are read +- Carve out source in LocalSource which implements ReadSource + +### Cat + +- Add tree subcommand +- Add more error messages + +### Check + +- Add check for offsets in IndexFile + +### Check/prune + +- Add progress bar + +### Forget + +- Allow giving snapshot IDs +- Fix --keep-last and add --keep-id +- Parallelize deletion + +### Prune + +- Add options --keep-delete and --keep-pack +- Fix option --repack-cacheable-only +- Add closure to print byte size +- Correct percentage unused space after prune +- Add more infos to output +- Improve algorithm +- Correct stats and parallelize deletion + +### Repoinfo + +- Fix ProgressBar + +### Restore + +- Parallelize and add progress bar + +### Snapshots + +- Allow giving snapshot IDs +- Add option --long + +### Tag + +- Fix bug, parallelize and add more options + + diff --git a/Cargo.lock b/Cargo.lock index da748310a..fab106026 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2129,38 +2129,22 @@ dependencies = [ [[package]] name = "rustic-rs" -version = "0.5.4-dev" +version = "0.6.0" dependencies = [ "abscissa_core", - "aes256ctr_poly1305aes", "aho-corasick", "anyhow", - "binrw", - "bytes", "bytesize", - "cachedir", "chrono", "clap", "clap_complete", "comfy-table", - "crossbeam-channel", - "derivative", - "derive_more", - "derive_setters", "dialoguer", "dircmp", "directories", - "dirs", - "dunce", - "enum-map", - "enum-map-derive", - "filetime", "gethostname", - "hex", "humantime", - "ignore", "indicatif", - "integer-sqrt", "itertools", "jemallocator-global", "libc", @@ -2169,33 +2153,19 @@ dependencies = [ "mimalloc", "nix", "once_cell", - "pariter", - "path-dedot", "pretty_assertions", - "rand", - "rayon", "rhai", "rustic_core", "rustic_testing", - "scrypt", "self_update", "semver", "serde", - "serde-aux", "serde_json", "serde_with", - "sha2", - "shell-words", "simplelog", "tempfile", "thiserror", "toml 0.8.0", - "tracing-appender", - "tracing-error", - "tracing-subscriber", - "walkdir", - "xattr", - "zstd", ] [[package]] @@ -2995,18 +2965,6 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-appender" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d48f71a791638519505cefafe162606f706c25592e4bde4d97600c0195312e" -dependencies = [ - "crossbeam-channel", - "parking_lot", - "time", - "tracing-subscriber", -] - [[package]] name = "tracing-attributes" version = "0.1.26" @@ -3028,16 +2986,6 @@ dependencies = [ "valuable", ] -[[package]] -name = "tracing-error" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e" -dependencies = [ - "tracing", - "tracing-subscriber", -] - [[package]] name = "tracing-log" version = "0.1.3" diff --git a/Cargo.toml b/Cargo.toml index b4ceed3e6..72eb992ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.5.4-dev" +version = "0.6.0" edition = "2021" license = "Apache-2.0 OR MIT" repository = "https://github.com/rustic-rs/rustic" @@ -57,59 +57,18 @@ rustic_core = { workspace = true } anyhow = { workspace = true } thiserror = { workspace = true } -# macros -derivative = { workspace = true } -derive_more = { workspace = true } -derive_setters = { workspace = true } - # logging log = { workspace = true } -tracing-appender = { workspace = true } -tracing-error = { workspace = true } -tracing-subscriber = { workspace = true } - -# rclone backend -semver = { workspace = true } - -# parallelize -crossbeam-channel = { workspace = true } -pariter = { workspace = true } -rayon = { workspace = true } - -# crypto -aes256ctr_poly1305aes = { workspace = true } -rand = { workspace = true } -scrypt = { workspace = true } - -# chunker / packer -integer-sqrt = { workspace = true } # serialization -binrw = { workspace = true } -hex = { workspace = true } serde = { workspace = true } -serde-aux = { workspace = true } serde_json = { workspace = true } serde_with = { workspace = true } # other dependencies -bytes = { workspace = true } chrono = { workspace = true } -enum-map = { workspace = true } -enum-map-derive = { workspace = true } self_update = { workspace = true } -zstd = { workspace = true } - -# local backend -aho-corasick = { workspace = true } -filetime = { workspace = true } -ignore = { workspace = true } -nix = { workspace = true } -walkdir = { workspace = true } - -# cache -cachedir = { workspace = true } -dirs = { workspace = true } +semver = { workspace = true } # commands clap = { workspace = true } @@ -118,18 +77,15 @@ merge = { workspace = true } bytesize = { workspace = true } comfy-table = { workspace = true } -dialoguer = "0.10.4" +dialoguer = { workspace = true } directories = { workspace = true } -dunce = { workspace = true } gethostname = { workspace = true } humantime = { workspace = true } indicatif = { workspace = true } itertools = { workspace = true } jemallocator-global = { version = "0.3.2", optional = true } mimalloc = { version = "0.1.39", default_features = false, optional = true } -path-dedot = { workspace = true } rhai = { workspace = true } -shell-words = { workspace = true } simplelog = { workspace = true } [dev-dependencies] @@ -142,96 +98,37 @@ tempfile = { workspace = true } toml = { workspace = true } [target.'cfg(not(windows))'.dependencies] -sha2 = { version = "0.10", features = ["asm"] } libc = "0.2.148" - -[target.'cfg(windows)'.dependencies] -# unfortunately, the asm extensions do not build on MSVC, see https://github.com/RustCrypto/asm-hashes/issues/17 -sha2 = "0.10" - -[target.'cfg(not(any(windows, target_os="openbsd")))'.dependencies] -xattr = "1" - [workspace.dependencies] rustic_core = { version = "0.1.1", features = ["cli"] } -abscissa_core = "0.7.0" +abscissa_core = { version = "0.7.0", default-features = false, features = ["application", "testing"] } # logging -tracing-appender = { version = "0.2.2", features = ["parking_lot"] } -tracing-error = "0.2.0" -tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } +log = "0.4" # errors displaydoc = "0.2.4" thiserror = "1" anyhow = "1" -# macros -derive_more = "0.99" -derivative = "2" -derive_setters = "0.1" - -# logging -log = "0.4" - -# parallelize -crossbeam-channel = "0.5" -rayon = "1" -pariter = "0.5" - -# crypto -aes256ctr_poly1305aes = "0.1" -rand = "0.8" -scrypt = { version = "0.11", default-features = false } - -# chunker / packer -integer-sqrt = "0.1" - # serialization -binrw = "0.11" -hex = { version = "0.4", features = ["serde"] } serde = { version = "1", features = ["serde_derive"] } serde_with = { version = "3.3", features = ["base64"] } serde_json = "1" -serde-aux = "4" - -# local backend -walkdir = "2" -ignore = "0.4" -cached = { version = "0.45", default-features = false, features = ["proc_macro"] } -nix = { version = "0.27", default-features = false, features = ["user", "fs"] } -filetime = "0.2" -aho-corasick = "1.1.0" - -# rest backend -reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls-native-roots", "stream", "blocking"] } -backoff = "0.4" -url = "2.4.1" - -# rclone backend -semver = "1" # other dependencies -bytes = "1" +aho-corasick = "1.1.0" chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] } -zstd = "0.12" -enum-map = "2" -enum-map-derive = "0.14" rhai = { version = "1.16", features = ["sync", "serde", "no_optimize", "no_module", "no_custom_syntax", "only_i64"] } +semver = "1" simplelog = "0.12" comfy-table = "7.0.1" -# cache -dirs = "5" -cachedir = "0.3" - # commands merge = "0.1" directories = "5" -shell-words = "1" +dialoguer = "0.10.4" indicatif = "0.17" -path-dedot = "3" -dunce = "1" gethostname = "0.4" bytesize = "1" itertools = "0.11" diff --git a/changelog/0.2.1.txt b/changelog/0.2.1.txt deleted file mode 100644 index 73614373d..000000000 --- a/changelog/0.2.1.txt +++ /dev/null @@ -1,10 +0,0 @@ -Changes in version 0.2.1 -- add support for local cache (adds --no-cache and --cache-dir options) -- added --prune option to forget -- restore: display and ignore most errors during restore -- restore: handle much more cases -- fix chunker for empty files -- REST backend: fix url path -- Local backend: fix treatment of additional files -- added fully support special files -- Allow specifying global options with subommands diff --git a/changelog/0.2.2.txt b/changelog/0.2.2.txt deleted file mode 100644 index b157a539d..000000000 --- a/changelog/0.2.2.txt +++ /dev/null @@ -1,12 +0,0 @@ -Changes in version 0.2.2 -- added possibility to specify a hot repo (added --repo-hot option) -- added rclone backend and made reading/writing remote repos with higher latency working -- new command config; added possibility to customize compression level -- added possibility to customize pack sizes. Also changed the standard settings for pack size. -- fixed erroneous caching of data pack files -- check: new option --trust-cache -- improved speed of packer -- prune: new options --instant-delete, --repack-uncompressed, --fast-repack -- prune: option --repack-cacheable-only now expects true/false and default to true for hot/cold repos -- snapshots: allow to specify "latest" which only displays the latest snapshot(s) -- restore: fixed order of setting permission; improved error handling and debug output diff --git a/changelog/0.2.3.txt b/changelog/0.2.3.txt deleted file mode 100644 index cd82d6d2e..000000000 --- a/changelog/0.2.3.txt +++ /dev/null @@ -1,7 +0,0 @@ -0.2.3 is a bug-fix release that fixes a severe bug in the prune command - -Changes in version 0.2.3 -- prune: Fixed a critical bug which corrupted the repo when repacking compressed data -- prune: Fixed --repack-cacheable-only when used with --repack-uncompressed -- prune: Added progress bar for repacking -- restore: Improved progress bar diff --git a/changelog/0.2.txt b/changelog/0.2.txt deleted file mode 100644 index 77493e9dc..000000000 --- a/changelog/0.2.txt +++ /dev/null @@ -1,12 +0,0 @@ -Changes in version 0.2 -- new commands: init, forget, prune, repoinfo, tag, key -- allow parallel lock-free repo access including prune -- added REST backend -- add compression support -- add support for other unix OSes, e.g. macOS -- most operations are now parallelized (using async rust) -- added more statistical information to snapshots -- allow to mark snapshots as uneraseable or to be deleted at given time -- now uses the same JSON format for trees/nodes as restic -- better progress bars -- various small fixes diff --git a/changelog/0.3.0.txt b/changelog/0.3.0.txt deleted file mode 100644 index 67abce2b4..000000000 --- a/changelog/0.3.0.txt +++ /dev/null @@ -1,21 +0,0 @@ -Changes in version 0.3.0: - -Bugs fixed: -- config command could invalidate config file on local backend - -New features: -- backup: Added escaping of filenames to be compatible with restic -- backup: Don't use temporary files, but save incomplete pack files in-memory -- Allow to limit pack sizes -- rest/rclone backend: Retry operations if they failing -- restore: Use existing files to speed up restore (also makes restore resumable) -- restore: Added --delete option to delete existing files not in snapshot -- restore/prune: Added warm-up possibilities for hot/cold repo -- prune: Remove unneeded packs from cache -- prune: Added repacking of packs which are too small or too large -- self-update: New command to update rustic -- Added syntax SNAPSHOT[:PATH] for many command to access sub-trees within snapshots -- Added support for environmental variables -- Improved help texts -- CI: Added beta builds -- CI: Added dependabot to get automatic PRs for dependency updates diff --git a/changelog/0.3.1.txt b/changelog/0.3.1.txt deleted file mode 100644 index e1a8ff457..000000000 --- a/changelog/0.3.1.txt +++ /dev/null @@ -1,29 +0,0 @@ -Changes in version 0.3.1: - -Note: Changing the binary name to rustic is a breaking change with respect to the self-update command. -This means rustic 0.3.0 can *NOT* be updated using self-update. Please download the binaries manually instead. - -Bugs fixed: -- change escaping of filename to get identical result as restic -- fix performance regression because of filename escaping -- chunker: Fixed chunker such that chunks of MINSIZE are possible. -- prune: Fix option --max-repack; now also works when resizing packs. - -New features: -- Changed name of binary from rustic-rs to rustic -- Added config file support (see examples in `config/` dir) -- Added options --password and --password-command (and equivalents as env variables and config file options) -- snapshots: Summarize fully identical snapshots in snapshots command; added option --all. -- snapshots: Grouping by hosts and paths is now the default. -- snapshots: Added --json option -- backup: Allow backing up multiple source paths -- backup: Allow backup from stdin -- backup/parent detection now uses ctime and mtime; new options --ignore-mtime and --ignore-inode -- backup: Added option --exclude-larger-than -- forget: Always remove snapshots when ID is given -- prune: Only resize small packs when target packsize will be reached. -- prune: Added option --no-resize -- chunker: Increase buffer size to speed up chunking -- Added aarch64-apple-darwin as supported platform -- CI: Added rust audit -- diff --git a/changelog/0.3.2.txt b/changelog/0.3.2.txt deleted file mode 100644 index 26c0122d9..000000000 --- a/changelog/0.3.2.txt +++ /dev/null @@ -1,20 +0,0 @@ -Changes in version 0.3.2: - -Breaking changes: -- Logging is completely reworked. New option --log-level replaces --verbose and --quiet - -Bugs fixed: -- Fixed broken error handling in REST/rclone backend some error kinds. -- Don't prompt for password in init command if it is given. - -New features: -- New option --log-file allows logging to a file -- New command completions to generate shell completions -- check: Added --read-data option -- check: Improved error handling and error messages -- rest/rclone backend: Abort immediately at permanent errors. -- restore: better debug output to see what restore exactly will do -- rclone backend no longer needs a temp dir. This meas rustic now doesn't need a temp dir at all. -- Nicer display of snapshot groups -- Added blackbox test using bats - diff --git a/changelog/0.4.0.txt b/changelog/0.4.0.txt deleted file mode 100644 index 767b607ca..000000000 --- a/changelog/0.4.0.txt +++ /dev/null @@ -1,21 +0,0 @@ -Changes in version 0.4.0: - -Bugs fixed: -- Fixed a bug in the CI which sometimes made building beta executables fail. - -New features: -- Snapshots now allow to use a label, to add a description and save the program version used. -- diff: diff can now compare snapshots with local dirs. -- backup: Added option --as-path. -- backup: Allow to use and save relative paths. -- backup: Added option --ignore-devid. -- backup: Now uses more parallelization. -- prune: Repacking is now parallel. -- New commands repair index/snapshots. -- Better support for using latest as snapshot. -- UI/progress bars: Added support for env variable RUSTIC_PROGRESS_INTERVALL. -- Simplified the code in some places. - -Changes under the hood: -- rustic no longer uses async Rust. -- Replaced prettytables by comfytable. (Thanks @JMarkin) diff --git a/changelog/0.4.1.txt b/changelog/0.4.1.txt deleted file mode 100644 index c287d5d3d..000000000 --- a/changelog/0.4.1.txt +++ /dev/null @@ -1,11 +0,0 @@ -Changes in version 0.4.1: - -Bugs fixed: -- Fixed a possible deadlock in the archiver which could cause `rustic backup` to hang. -- Piping output no longer panices (this allows e.g. to pipe into `head`). -- Fixed progress bar showing 0B/s instead of real rate. - -New features: -- backup: Errors reading the parent now print a warning instead of being silently ignored. -- forget: Allow to keep quarter- and half-yearly. -- Improved the error handling for some situations. diff --git a/changelog/0.4.2.txt b/changelog/0.4.2.txt deleted file mode 100644 index 80d3725ab..000000000 --- a/changelog/0.4.2.txt +++ /dev/null @@ -1,17 +0,0 @@ -Changes in version 0.4.2: - -Bugs fixed: -- rclone backend did not work with unexpected version output. This is now fixed, also support for rclone > 1.61 is added. -- restore: restore with existing files/dirs but wrong type did not succeed. This is fixed now. -- All command except `backup` and `prune` did not compress snapshot and index files, even for v2 repos. This is now fixed. - -New features: -- Added the `copy` command: Many targets are supported and a nice output table shows which snapshots are to be copied. See also #358. -- The syntax : now also works if is a file, e.g. in the `restore` command. -- restore: Existing files with correct size and mtime are not read by default; new option --verify-existing. -- restore: Improved output of what restore is about to do (also in --dry-run mode). -- diff: Make output more similar to `restic diff`; added option `--metadata`. -- diff: When diffing with a local dir, local files are now read and the content is compared; new option --no-content. -- backup: Improved parallelization. -- Updated to Rust 1.66 and many updates of dependent crate versions. -- Some minor code and performance improvements. diff --git a/changelog/0.4.3.txt b/changelog/0.4.3.txt deleted file mode 100644 index 3fe59783d..000000000 --- a/changelog/0.4.3.txt +++ /dev/null @@ -1,13 +0,0 @@ -Changes in version 0.4.3: - -Bugs fixed: -- A bug in `prune` could lead to removal of needed data in the case of duplicate blobs within one pack. This is fixed. -- An inaccuracy in the packer could lead to identical blobs saved within the same pack. This is fixed. -- check: Reported errors when the cache contained more pack files than the repository. This is fixed. -- password-command didn't work correctly when calling a shell with an argument. This is fixed. - -New features: -- warm-up options can now be configured in the config file. -- repair index: Added better debug output and error handling. -- Added better error handling when opening a repository. -- Improved allocations when parsing/printing ids. diff --git a/changelog/0.4.4.txt b/changelog/0.4.4.txt deleted file mode 100644 index 0bec9401a..000000000 --- a/changelog/0.4.4.txt +++ /dev/null @@ -1,17 +0,0 @@ -Changes in version 0.4.4: - -Bugs fixed: -- Integrated the cdc crate as it currently doesn't compile with current Rust. This allows to upload rustic to crates.io. -- restore: Don't abort on errors, but print a warning and continue -- REST backend now ignores extra files in repository, as local backend does. -- init did not work for hot/cold repos. This is fixed. -- A password file without a newline didn't work. This is fixed. - -New features: -- diff/restore: Allow to use a single file as target and treat it correctly -- local backend: Added possibility to add hooks. This can be used e.g. to automatically generate .par2 files for your local repo. -- backup: Added option --json -- The chunker implementation has been optimized -- Default grouping now includes grouping by labels -- Added OpenBSD as platform -- Many version updates of dependencies diff --git a/changelog/0.5.0.txt b/changelog/0.5.0.txt deleted file mode 100644 index 2ab313dd2..000000000 --- a/changelog/0.5.0.txt +++ /dev/null @@ -1,26 +0,0 @@ -Changes in version 0.5.0: - -Breaking changes: -- Repository options in the config file can no longer be given under the `[global]` section. Use `[repository]` instead. -- Backing up multiple sources on the command line now results in one instead of several snapshots. - -Bugs fixed: -- `restore` command did not restore empty files. This is fixed. -- `config` command did save the config file compressed which violates the repo design. This is fixed. -- rustic did panic when files with missing `content` field are stored in a tree. This is fixed. - -New features: -- Experimental windows support has been added. -- New option --filter-fn allows to implement your own snapshot filter using the Rhai language. -- New command dump has been added. -- New command merge has been added. -- Support for extended file attributes has been added. -- REST/Rclone backend: Allow to set the request timeout. -- Extra or wrong fields in the config file now lead to rustic complaining and aborting. -- New option --no-progress has been added. -- Option --progress-interval can now also be given as command argument and in the config file. -- backup: Paths are now sanitized from command arguments and config file before matching and applying the configuration. -- restore: Add --no-ownership option -- check --read-data: progress bar now also shows total bytes to check and ETA. -- The archiver implementation has been reworked. This will allow more backup sources in future. -- Updated to Rust 1.68 and many dependency updates diff --git a/changelog/0.5.1.txt b/changelog/0.5.1.txt deleted file mode 100644 index aaf8309b1..000000000 --- a/changelog/0.5.1.txt +++ /dev/null @@ -1,23 +0,0 @@ -Changes in version 0.5.1: - -Breaking changes: -- ls: Added option `--recursive`, note: default is now non-recursive if a path is given. - -Bugs fixed: -- Fixed compilation on OpenBSD. -- Fixed shell completions. -- REST backend displayed the connection password in the log. This has been changed. -- restore: Existing symlinks displayed an error. This is now corrected if the `--delete` option is used. -- restore: Setting ownership/permissons/times for symlinks failed. This has been fixed. -- Spaces in paths did not work when given in the config file. This has been fixed. -- backup --stdin-filename did not use the given filename. This has been fixed. -- backup always displayed at least 1 dir as changed. This has been corrected. -- Windows: Backup of the path prefix (e.g. C: -> C/) did not work. This has been fixed. - -New features: -- REST backend: Set User-Agent header. -- ls: Added option `--recursive`. -- ls: Added glob options to exclude/include. -- restore: Added glob options to exclude/include. -- restore: xattrs treatment has been improved. -- Dependencies have been updated. diff --git a/changelog/0.5.2.txt b/changelog/0.5.2.txt deleted file mode 100644 index 2b24bf469..000000000 --- a/changelog/0.5.2.txt +++ /dev/null @@ -1,18 +0,0 @@ -Changes in version 0.5.2: - -Breaking changes: -- The CLI option `--config-profile` was renamed into `--use-profile` (same shortcut `-P`). - -Bugs fixed: -- restore: Warm-up options given by the command line didn't work. This has been fixed. -- backup: showed 1 dir as changed when backing up without parent. This has been fixed. -- diff: The options --no-atime and --ignore-devid had no effect and are now removed. -- Rustic's check of additional fields in the config file didn't work in edge cases. This has been fixed. - -New features: -- backup: Backing up (small) files has been speed-optimized and is now much more parallelized. -- Config file: New field use-profile under [global] allows to merge options from other config profiles -- Option --dry-run is now a global option and can also be defined in the config file or via env variable -- forget: Using "-1" as value for --keep-* options will keep all snapshots of that interval -- prune: Added option --repack-all -- Updated to clap v4 diff --git a/changelog/0.5.3.txt b/changelog/0.5.3.txt deleted file mode 100644 index 2e9232b48..000000000 --- a/changelog/0.5.3.txt +++ /dev/null @@ -1,10 +0,0 @@ -Changes in version 0.5.3: - -Breaking changes: -- config file: use-config now expects an array of config profiles to read. - -Bugs fixed: -- The [[backup.sources]] section in the config file was ignored 0.5.2. This has been fixed. - -New features: -- The show-config command has been added. diff --git a/changelog/0.5.4.txt b/changelog/0.5.4.txt deleted file mode 100644 index 7596b7088..000000000 --- a/changelog/0.5.4.txt +++ /dev/null @@ -1,10 +0,0 @@ -Changes in version 0.5.4: - -Bugs fixed: -- backup crashed when there was a non-unicode link target. The crash has been fixed. However, non-unicode link targets are still unsupported. -- Extended attributes which were saved with value null couldn't be handled. This has been fixed. -- prune: --max-repack didn't work with a given percentage of repo size. This has been fixed. - -New features: -- copy: Added --init option to initialize uninitialized target repos -- dependencies have been updated \ No newline at end of file diff --git a/changelog/new.txt b/changelog/new.txt deleted file mode 100644 index 5ece50b85..000000000 --- a/changelog/new.txt +++ /dev/null @@ -1,25 +0,0 @@ -Changes in version x.x.x: - -Breaking changes: - -Bugs fixed: -- prune did abort when no time was set for a pack-do-delete. This case is now handled correctly. -- retrying backend access didn't work for long operations. This has been fixed (and retries are now customizable) -- The zstd compression library led to data corruption in very unlikely cases. This has been fixed by a dependency update. -- The glob option did only work with absolute files. This has been fixed. -- Non-unicode link targets are now correctly handled on Unix (after this has been added to the restic repo format). - -New features: -- New global configuration paths are available, located at /etc/rustic/*.toml or %PROGRAMDATA%/rustic/config/*.toml, depending on your platform. -- Environment variables for programms called by rustic can now be set in the config files. -- REST backend: Now allows to use custom TLS root certificates. -- restore: The restore algorithm has been improved and should now be faster for remote repositories. -- restore: Files are now allocated just before being first processed. This allows easier resumed restores. -- New option: `no-require-git` for backup - if enabled, a git repository is not required to apply `git-ignore` rule. -- fix: wait for password-command to successfully exit, allowing to input something into the command, and read password from stdout. -- repoinfo: Added new options --json, --only-files, --only-index -- Creation of new keys now enforces confirmation of entered key. This helps to prevent mistype of passwords during the initial entry -- Check: Add check if time is set for packs-to-delete -- ls: Options --long (-l) and --summary (-s) have been added. -- forget: Option --json has been added. -- backup: New option --init to initialize repository if it doesn't exist yet. diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 000000000..484f4f881 --- /dev/null +++ b/cliff.toml @@ -0,0 +1,82 @@ +# git-cliff ~ default configuration file +# https://git-cliff.org/docs/configuration +# +# Lines starting with "#" are comments. +# Configuration options are organized into tables and keys. +# See documentation for more information on available options. + +[changelog] +# changelog header +header = """ +# Changelog\n +All notable changes to this project will be documented in this file.\n +""" +# template for the changelog body +# https://tera.netlify.app/docs +body = """ +{% if version %}\ + ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} +{% else %}\ + ## [unreleased] +{% endif %}\ +{% for group, commits in commits | group_by(attribute="group") %} + ### {{ group | upper_first }} + {% for commit in commits %} + - {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\ + {% endfor %} +{% endfor %}\n +""" +# remove the leading and trailing whitespace from the template +trim = true +# changelog footer +footer = """ + +""" +# postprocessors +postprocessors = [ + { pattern = '', replace = "https://github.com/rustic-rs/rustic" }, +] +[git] +# parse the commits based on https://www.conventionalcommits.org +conventional_commits = true +# filter out the commits that are not conventional +filter_unconventional = true +# process each line of a commit as an individual commit +split_commits = false +# regex for preprocessing the commit messages +commit_preprocessors = [ + { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](/issues/${2}))" }, # replace issue numbers +] +# regex for parsing and grouping commits +commit_parsers = [ + { message = "^feat", group = "Features" }, + { message = "^fix", group = "Bug Fixes" }, + { message = "^doc", group = "Documentation" }, + { message = "^perf", group = "Performance" }, + { message = "^refactor", group = "Refactor" }, + { message = "^style", group = "Styling", skip = true }, # we ignore styling in the changelog + { message = "^test", group = "Testing" }, + { message = "^chore\\(release\\): prepare for", skip = true }, + { message = "^chore\\(deps\\)", skip = true }, + { message = "^chore\\(pr\\)", skip = true }, + { message = "^chore\\(pull\\)", skip = true }, + { message = "^chore|ci", group = "Miscellaneous Tasks" }, + { body = ".*security", group = "Security" }, + { message = "^revert", group = "Revert" }, +] +# protect breaking changes from being skipped due to matching a skipping commit_parser +protect_breaking_commits = false +# filter out the commits that are not matched by commit parsers +filter_commits = false +# glob pattern for matching git tags +tag_pattern = "v[0-9]*" +# regex for skipping tags +skip_tags = "v0.1.0-beta.1" +# regex for ignoring tags +ignore_tags = "" +# sort the tags topologically +topo_order = false +# sort the commits inside sections by oldest/newest order +sort_commits = "oldest" +# limit the number of commits included in the changelog. +# limit_commits = 42 diff --git a/tests/completions-fixtures/bash.txt b/tests/completions-fixtures/bash.txt index 7d8031892..259c2d86f 100644 --- a/tests/completions-fixtures/bash.txt +++ b/tests/completions-fixtures/bash.txt @@ -350,29 +350,29 @@ _rustic() { return 0 ;; rustic__backup) - opts="-g -f -x -P -n -r -p -h --group-by --parent --force --ignore-ctime --ignore-inode --stdin-filename --as-path --with-atime --ignore-devid --glob --iglob --glob-file --iglob-file --git-ignore --exclude-if-present --one-file-system --exclude-larger-than --label --tag --description --description-from --delete-never --delete-after --host --json --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help [SOURCE]..." + opts="-g -f -x -P -n -r -p -h --stdin-filename --as-path --with-atime --ignore-devid --json --init --group-by --parent --force --ignore-ctime --ignore-inode --glob --iglob --glob-file --iglob-file --git-ignore --no-require-git --exclude-if-present --one-file-system --exclude-larger-than --label --tag --description --description-from --time --delete-never --delete-after --host --command --hostname --username --with-created --set-compression --set-version --set-treepack-size --set-treepack-size-limit --set-treepack-growfactor --set-datapack-size --set-datapack-growfactor --set-datapack-size-limit --set-min-packsize-tolerate-percent --set-max-packsize-tolerate-percent --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help [SOURCE]..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in - --group-by) + --stdin-filename) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; - -g) + --as-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; - --parent) + --group-by) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; - --stdin-filename) + -g) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; - --as-path) + --parent) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; @@ -416,6 +416,10 @@ _rustic() { COMPREPLY=($(compgen -f "${cur}")) return 0 ;; + --time) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; --delete-after) COMPREPLY=($(compgen -f "${cur}")) return 0 @@ -424,6 +428,58 @@ _rustic() { COMPREPLY=($(compgen -f "${cur}")) return 0 ;; + --command) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --hostname) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --username) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --set-compression) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --set-version) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --set-treepack-size) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --set-treepack-size-limit) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --set-treepack-growfactor) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --set-datapack-size) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --set-datapack-growfactor) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --set-datapack-size-limit) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --set-min-packsize-tolerate-percent) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --set-max-packsize-tolerate-percent) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; --use-profile) COMPREPLY=($(compgen -f "${cur}")) return 0 @@ -1604,12 +1660,20 @@ _rustic() { return 0 ;; rustic__copy) - opts="-P -n -r -p -h --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help [ID]..." + opts="-P -n -r -p -h --init --hostname --username --with-created --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help [ID]..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in + --hostname) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --username) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; --use-profile) COMPREPLY=($(compgen -f "${cur}")) return 0 @@ -1698,7 +1762,7 @@ _rustic() { return 0 ;; rustic__diff) - opts="-x -P -n -r -p -h --metadata --no-content --glob --iglob --glob-file --iglob-file --git-ignore --exclude-if-present --one-file-system --exclude-larger-than --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help " + opts="-x -P -n -r -p -h --metadata --no-content --glob --iglob --glob-file --iglob-file --git-ignore --no-require-git --exclude-if-present --one-file-system --exclude-larger-than --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -1910,7 +1974,7 @@ _rustic() { return 0 ;; rustic__forget) - opts="-g -l -H -d -w -m -y -P -n -r -p -h --group-by --prune --filter-host --filter-label --filter-paths --filter-tags --filter-fn --keep-tags --keep-id --keep-last --keep-hourly --keep-daily --keep-weekly --keep-monthly --keep-quarter-yearly --keep-half-yearly --keep-yearly --keep-within --keep-within-hourly --keep-within-daily --keep-within-weekly --keep-within-monthly --keep-within-quarter-yearly --keep-within-half-yearly --keep-within-yearly --max-repack --max-unused --keep-pack --keep-delete --instant-delete --fast-repack --repack-uncompressed --repack-all --repack-cacheable-only --no-resize --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --help [ID]..." + opts="-g -l -H -d -w -m -y -P -n -r -p -h --json --group-by --prune --filter-host --filter-label --filter-paths --filter-tags --filter-fn --keep-tags --keep-id --keep-last --keep-hourly --keep-daily --keep-weekly --keep-monthly --keep-quarter-yearly --keep-half-yearly --keep-yearly --keep-within --keep-within-hourly --keep-within-daily --keep-within-weekly --keep-within-monthly --keep-within-quarter-yearly --keep-within-half-yearly --keep-within-yearly --max-repack --max-unused --keep-pack --keep-delete --instant-delete --fast-repack --repack-uncompressed --repack-all --repack-cacheable-only --no-resize --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --help [ID]..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -3068,7 +3132,7 @@ _rustic() { return 0 ;; rustic__ls) - opts="-P -n -r -p -h --recursive --glob --iglob --glob-file --iglob-file --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help " + opts="-s -l -P -n -r -p -h --summary --long --glob --iglob --glob-file --iglob-file --recursive --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -3178,7 +3242,7 @@ _rustic() { return 0 ;; rustic__merge) - opts="-P -n -r -p -h --json --delete --label --tag --description --description-from --delete-never --delete-after --host --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help [ID]..." + opts="-P -n -r -p -h --json --delete --label --tag --description --description-from --time --delete-never --delete-after --host --command --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help [ID]..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -3200,6 +3264,10 @@ _rustic() { COMPREPLY=($(compgen -f "${cur}")) return 0 ;; + --time) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; --delete-after) COMPREPLY=($(compgen -f "${cur}")) return 0 @@ -3208,6 +3276,10 @@ _rustic() { COMPREPLY=($(compgen -f "${cur}")) return 0 ;; + --command) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; --use-profile) COMPREPLY=($(compgen -f "${cur}")) return 0 @@ -3756,7 +3828,7 @@ _rustic() { return 0 ;; rustic__repoinfo) - opts="-P -n -r -p -h --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help" + opts="-P -n -r -p -h --only-files --only-index --json --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --filter-host --filter-label --filter-paths --filter-tags --filter-fn --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -3850,7 +3922,7 @@ _rustic() { return 0 ;; rustic__restore) - opts="-P -n -r -p -h --delete --numeric-id --no-ownership --verify-existing --glob --iglob --glob-file --iglob-file --filter-host --filter-label --filter-paths --filter-tags --filter-fn --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --help " + opts="-P -n -r -p -h --delete --numeric-id --no-ownership --verify-existing --glob --iglob --glob-file --iglob-file --recursive --filter-host --filter-label --filter-paths --filter-tags --filter-fn --use-profile --dry-run --log-level --log-file --no-progress --progress-interval --repository --repo-hot --password --password-file --password-command --no-cache --cache-dir --warm-up --warm-up-command --warm-up-wait --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -4362,4 +4434,4 @@ _rustic() { esac } -complete -F _rustic -o bashdefault -o default rustic +complete -F _rustic -o nosort -o bashdefault -o default rustic diff --git a/tests/completions-fixtures/fish.txt b/tests/completions-fixtures/fish.txt index d5493e9c8..5037f3d5d 100644 --- a/tests/completions-fixtures/fish.txt +++ b/tests/completions-fixtures/fish.txt @@ -1,12 +1,12 @@ complete -c rustic -n "__fish_use_subcommand" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_use_subcommand" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_use_subcommand" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_use_subcommand" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_use_subcommand" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_use_subcommand" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_use_subcommand" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_use_subcommand" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_use_subcommand" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_use_subcommand" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_use_subcommand" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_use_subcommand" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_use_subcommand" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_use_subcommand" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_use_subcommand" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -19,7 +19,7 @@ complete -c rustic -n "__fish_use_subcommand" -s n -l dry-run -d 'Only show what complete -c rustic -n "__fish_use_subcommand" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_use_subcommand" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_use_subcommand" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_use_subcommand" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_use_subcommand" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_use_subcommand" -s V -l version -d 'Print version' complete -c rustic -n "__fish_use_subcommand" -f -a "backup" -d 'Backup to the repository' complete -c rustic -n "__fish_use_subcommand" -f -a "cat" -d 'Show raw data of repository files and blobs' @@ -44,31 +44,45 @@ complete -c rustic -n "__fish_use_subcommand" -f -a "repair" -d 'Repair a snapsh complete -c rustic -n "__fish_use_subcommand" -f -a "repoinfo" -d 'Show general information about the repository' complete -c rustic -n "__fish_use_subcommand" -f -a "tag" -d 'Change tags of snapshots' complete -c rustic -n "__fish_use_subcommand" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c rustic -n "__fish_seen_subcommand_from backup" -s g -l group-by -d 'Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default: host,label,paths)' -r -complete -c rustic -n "__fish_seen_subcommand_from backup" -l parent -d 'Snapshot to use as parent' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l stdin-filename -d 'Set filename to be used when backing up from stdin' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l as-path -d 'Manually set backup path in snapshot' -r -F +complete -c rustic -n "__fish_seen_subcommand_from backup" -s g -l group-by -d 'Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default: host,label,paths)' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l parent -d 'Snapshot to use as parent' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l glob -d 'Glob pattern to exclude/include (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l iglob -d 'Same as --glob pattern but ignores the casing of filenames' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l glob-file -d 'Read glob patterns to exclude/include from this file (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l iglob-file -d 'Same as --glob-file ignores the casing of filenames in patterns' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l exclude-if-present -d 'Exclude contents of directories containing this filename (can be specified multiple times)' -r -complete -c rustic -n "__fish_seen_subcommand_from backup" -l exclude-larger-than -d 'Maximum size of files to be backuped. Larger files will be excluded' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l exclude-larger-than -d 'Maximum size of files to be backed up. Larger files will be excluded' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l label -d 'Label snapshot with given label' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l tag -d 'Tags to add to snapshot (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l description -d 'Add description to snapshot' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l description-from -d 'Add description to snapshot from file' -r -F +complete -c rustic -n "__fish_seen_subcommand_from backup" -l time -d 'Set the backup time manually' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l delete-after -d 'Mark snapshot to be deleted after given duration (e.g. 10d)' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l host -d 'Set the host name manually' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l command -d 'Set the backup command manually' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l hostname -d 'Set \'hostname\' in public key information' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l username -d 'Set \'username\' in public key information' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l set-compression -d 'Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l set-version -d 'Set repository version. Allowed versions: 1,2' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l set-treepack-size -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l set-treepack-size-limit -d 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l set-treepack-growfactor -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l set-datapack-size -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l set-datapack-growfactor -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l set-datapack-size-limit -d 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l set-min-packsize-tolerate-percent -d 'Set minimum tolerated packsize in percent of the targeted packsize. Defaults to `30` if not set' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l set-max-packsize-tolerate-percent -d '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' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from backup" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from backup" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from backup" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from backup" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from backup" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from backup" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -77,29 +91,32 @@ complete -c rustic -n "__fish_seen_subcommand_from backup" -l filter-label -d 'L complete -c rustic -n "__fish_seen_subcommand_from backup" -l filter-paths -d 'Path list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l filter-tags -d 'Tag list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from backup" -l filter-fn -d 'Function to filter snapshots' -r +complete -c rustic -n "__fish_seen_subcommand_from backup" -l with-atime -d 'Save access time for files and directories' +complete -c rustic -n "__fish_seen_subcommand_from backup" -l ignore-devid -d 'Don\'t save device ID for files and directories' +complete -c rustic -n "__fish_seen_subcommand_from backup" -l json -d 'Output generated snapshot in json format' +complete -c rustic -n "__fish_seen_subcommand_from backup" -l init -d 'Initialize repository, if it doesn\'t exist yet' complete -c rustic -n "__fish_seen_subcommand_from backup" -s f -l force -d 'Use no parent, read all files' complete -c rustic -n "__fish_seen_subcommand_from backup" -l ignore-ctime -d 'Ignore ctime changes when checking for modified files' complete -c rustic -n "__fish_seen_subcommand_from backup" -l ignore-inode -d 'Ignore inode number changes when checking for modified files' -complete -c rustic -n "__fish_seen_subcommand_from backup" -l with-atime -d 'Save access time for files and directories' -complete -c rustic -n "__fish_seen_subcommand_from backup" -l ignore-devid -d 'Don\'t save device ID for files and directories' complete -c rustic -n "__fish_seen_subcommand_from backup" -l git-ignore -d 'Ignore files based on .gitignore files' +complete -c rustic -n "__fish_seen_subcommand_from backup" -l no-require-git -d 'Do not require a git repository to apply git-ignore rule' complete -c rustic -n "__fish_seen_subcommand_from backup" -s x -l one-file-system -d 'Exclude other file systems, don\'t cross filesystem boundaries and subvolumes' complete -c rustic -n "__fish_seen_subcommand_from backup" -l delete-never -d 'Mark snapshot as uneraseable' -complete -c rustic -n "__fish_seen_subcommand_from backup" -l json -d 'Output generated snapshot in json format' +complete -c rustic -n "__fish_seen_subcommand_from backup" -l with-created -d 'Add \'created\' date in public key information' complete -c rustic -n "__fish_seen_subcommand_from backup" -s n -l dry-run -d 'Only show what would be done without modifying anything. Does not affect read-only commands' complete -c rustic -n "__fish_seen_subcommand_from backup" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from backup" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from backup" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from backup" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from backup" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -112,7 +129,7 @@ complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subc complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -f -a "tree-blob" -d 'Display a tree blob' complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -f -a "data-blob" -d 'Display a data blob' complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -f -a "config" -d 'Display the config file' @@ -122,13 +139,13 @@ complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subc complete -c rustic -n "__fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -141,16 +158,16 @@ complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcomma complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree-blob" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -163,16 +180,16 @@ complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcomma complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from data-blob" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -185,16 +202,16 @@ complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcomma complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from config" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -207,16 +224,16 @@ complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcomma complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from index" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -229,16 +246,16 @@ complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcomma complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from snapshot" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -251,7 +268,7 @@ complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcomma complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from tree" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -f -a "tree-blob" -d 'Display a tree blob' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -f -a "data-blob" -d 'Display a data blob' complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -f -a "config" -d 'Display the config file' @@ -261,23 +278,23 @@ complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcomma complete -c rustic -n "__fish_seen_subcommand_from cat; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from tree-blob; and not __fish_seen_subcommand_from data-blob; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshot; and not __fish_seen_subcommand_from tree; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' complete -c rustic -n "__fish_seen_subcommand_from config" -l set-compression -d 'Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression' -r complete -c rustic -n "__fish_seen_subcommand_from config" -l set-version -d 'Set repository version. Allowed versions: 1,2' -r -complete -c rustic -n "__fish_seen_subcommand_from config" -l set-treepack-size -d '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' -r -complete -c rustic -n "__fish_seen_subcommand_from config" -l set-treepack-size-limit -d 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately 4 GiB' -r -complete -c rustic -n "__fish_seen_subcommand_from config" -l set-treepack-growfactor -d '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' -r -complete -c rustic -n "__fish_seen_subcommand_from config" -l set-datapack-size -d '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' -r -complete -c rustic -n "__fish_seen_subcommand_from config" -l set-datapack-growfactor -d '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' -r -complete -c rustic -n "__fish_seen_subcommand_from config" -l set-datapack-size-limit -d 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately 4 GiB' -r -complete -c rustic -n "__fish_seen_subcommand_from config" -l set-min-packsize-tolerate-percent -d 'Set minimum tolerated packsize in percent of the targeted packsize. Defaults to 30 if not set' -r -complete -c rustic -n "__fish_seen_subcommand_from config" -l set-max-packsize-tolerate-percent -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from config" -l set-treepack-size -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from config" -l set-treepack-size-limit -d 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`' -r +complete -c rustic -n "__fish_seen_subcommand_from config" -l set-treepack-growfactor -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from config" -l set-datapack-size -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from config" -l set-datapack-growfactor -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from config" -l set-datapack-size-limit -d 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`' -r +complete -c rustic -n "__fish_seen_subcommand_from config" -l set-min-packsize-tolerate-percent -d 'Set minimum tolerated packsize in percent of the targeted packsize. Defaults to `30` if not set' -r +complete -c rustic -n "__fish_seen_subcommand_from config" -l set-max-packsize-tolerate-percent -d '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' -r complete -c rustic -n "__fish_seen_subcommand_from config" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from config" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from config" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from config" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from config" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from config" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from config" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from config" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from config" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from config" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from config" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from config" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from config" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from config" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from config" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -290,16 +307,16 @@ complete -c rustic -n "__fish_seen_subcommand_from config" -s n -l dry-run -d 'O complete -c rustic -n "__fish_seen_subcommand_from config" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from config" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from config" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from config" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from config" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from completions" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from completions" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from completions" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from completions" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from completions" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from completions" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from completions" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from completions" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from completions" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from completions" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from completions" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from completions" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from completions" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from completions" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from completions" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -312,16 +329,16 @@ complete -c rustic -n "__fish_seen_subcommand_from completions" -s n -l dry-run complete -c rustic -n "__fish_seen_subcommand_from completions" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from completions" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from completions" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from completions" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from completions" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from check" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from check" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from check" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from check" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from check" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from check" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from check" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from check" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from check" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from check" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from check" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from check" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from check" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from check" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from check" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -336,16 +353,18 @@ complete -c rustic -n "__fish_seen_subcommand_from check" -s n -l dry-run -d 'On complete -c rustic -n "__fish_seen_subcommand_from check" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from check" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from check" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from check" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from check" -s h -l help -d 'Print help (see more with \'--help\')' +complete -c rustic -n "__fish_seen_subcommand_from copy" -l hostname -d 'Set \'hostname\' in public key information' -r +complete -c rustic -n "__fish_seen_subcommand_from copy" -l username -d 'Set \'username\' in public key information' -r complete -c rustic -n "__fish_seen_subcommand_from copy" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from copy" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from copy" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from copy" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from copy" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from copy" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from copy" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from copy" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from copy" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from copy" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from copy" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from copy" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from copy" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from copy" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from copy" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -354,26 +373,28 @@ complete -c rustic -n "__fish_seen_subcommand_from copy" -l filter-label -d 'Lab complete -c rustic -n "__fish_seen_subcommand_from copy" -l filter-paths -d 'Path list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from copy" -l filter-tags -d 'Tag list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from copy" -l filter-fn -d 'Function to filter snapshots' -r +complete -c rustic -n "__fish_seen_subcommand_from copy" -l init -d 'Initialize non-existing target repositories' +complete -c rustic -n "__fish_seen_subcommand_from copy" -l with-created -d 'Add \'created\' date in public key information' complete -c rustic -n "__fish_seen_subcommand_from copy" -s n -l dry-run -d 'Only show what would be done without modifying anything. Does not affect read-only commands' complete -c rustic -n "__fish_seen_subcommand_from copy" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from copy" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from copy" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from copy" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from copy" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from diff" -l glob -d 'Glob pattern to exclude/include (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -l iglob -d 'Same as --glob pattern but ignores the casing of filenames' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -l glob-file -d 'Read glob patterns to exclude/include from this file (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -l iglob-file -d 'Same as --glob-file ignores the casing of filenames in patterns' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -l exclude-if-present -d 'Exclude contents of directories containing this filename (can be specified multiple times)' -r -complete -c rustic -n "__fish_seen_subcommand_from diff" -l exclude-larger-than -d 'Maximum size of files to be backuped. Larger files will be excluded' -r +complete -c rustic -n "__fish_seen_subcommand_from diff" -l exclude-larger-than -d 'Maximum size of files to be backed up. Larger files will be excluded' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from diff" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from diff" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from diff" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from diff" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from diff" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from diff" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from diff" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from diff" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from diff" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -385,21 +406,22 @@ complete -c rustic -n "__fish_seen_subcommand_from diff" -l filter-fn -d 'Functi complete -c rustic -n "__fish_seen_subcommand_from diff" -l metadata -d 'show differences in metadata' complete -c rustic -n "__fish_seen_subcommand_from diff" -l no-content -d 'don\'t check for different file contents' complete -c rustic -n "__fish_seen_subcommand_from diff" -l git-ignore -d 'Ignore files based on .gitignore files' +complete -c rustic -n "__fish_seen_subcommand_from diff" -l no-require-git -d 'Do not require a git repository to apply git-ignore rule' complete -c rustic -n "__fish_seen_subcommand_from diff" -s x -l one-file-system -d 'Exclude other file systems, don\'t cross filesystem boundaries and subvolumes' complete -c rustic -n "__fish_seen_subcommand_from diff" -s n -l dry-run -d 'Only show what would be done without modifying anything. Does not affect read-only commands' complete -c rustic -n "__fish_seen_subcommand_from diff" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from diff" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from diff" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from diff" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from diff" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from dump" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from dump" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from dump" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from dump" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from dump" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from dump" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from dump" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from dump" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from dump" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from dump" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from dump" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from dump" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from dump" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from dump" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from dump" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -412,7 +434,7 @@ complete -c rustic -n "__fish_seen_subcommand_from dump" -s n -l dry-run -d 'Onl complete -c rustic -n "__fish_seen_subcommand_from dump" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from dump" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from dump" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from dump" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from dump" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from forget" -s g -l group-by -d 'Group snapshots by any combination of host,label,paths,tags (default: "host,label,paths")' -r complete -c rustic -n "__fish_seen_subcommand_from forget" -l filter-host -d 'Hostname to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from forget" -l filter-label -d 'Label to filter (can be specified multiple times)' -r @@ -441,21 +463,22 @@ complete -c rustic -n "__fish_seen_subcommand_from forget" -l max-repack -d 'Def complete -c rustic -n "__fish_seen_subcommand_from forget" -l max-unused -d 'Tolerate limit of unused data in % of reposize after pruning or as size (e.g. \'5b\', \'2 kB\', \'3M\', \'4TiB\') or \'unlimited\'' -r complete -c rustic -n "__fish_seen_subcommand_from forget" -l keep-pack -d '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' -r complete -c rustic -n "__fish_seen_subcommand_from forget" -l keep-delete -d 'Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won\'t be deleted within this prune run' -r -complete -c rustic -n "__fish_seen_subcommand_from forget" -l repack-cacheable-only -d 'Only repack packs which are cacheable [default: true for a hot/cold repository, else false]' -r -f -a "{true ,false }" +complete -c rustic -n "__fish_seen_subcommand_from forget" -l repack-cacheable-only -d 'Only repack packs which are cacheable [default: true for a hot/cold repository, else false]' -r -f -a "{true '',false ''}" complete -c rustic -n "__fish_seen_subcommand_from forget" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from forget" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from forget" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from forget" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from forget" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from forget" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from forget" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from forget" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from forget" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from forget" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from forget" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from forget" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from forget" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from forget" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from forget" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r +complete -c rustic -n "__fish_seen_subcommand_from forget" -l json -d 'Show infos in json format' complete -c rustic -n "__fish_seen_subcommand_from forget" -l prune -d 'Also prune the repository' -complete -c rustic -n "__fish_seen_subcommand_from forget" -l instant-delete -d 'Delete files immediately instead of marking them. This also removes all files already marked for deletion. WARNING: Only use if you are sure the repository is not accessed by parallel processes!' +complete -c rustic -n "__fish_seen_subcommand_from forget" -l instant-delete -d 'Delete files immediately instead of marking them. This also removes all files already marked for deletion' complete -c rustic -n "__fish_seen_subcommand_from forget" -l fast-repack -d 'Simply copy blobs when repacking instead of decrypting; possibly compressing; encrypting' complete -c rustic -n "__fish_seen_subcommand_from forget" -l repack-uncompressed -d 'Repack packs containing uncompressed blobs. This cannot be used with --fast-repack. Implies --max-unused=0' complete -c rustic -n "__fish_seen_subcommand_from forget" -l repack-all -d 'Repack all packs. Implies --max-unused=0' @@ -464,28 +487,28 @@ complete -c rustic -n "__fish_seen_subcommand_from forget" -s n -l dry-run -d 'O complete -c rustic -n "__fish_seen_subcommand_from forget" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from forget" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from forget" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from forget" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from forget" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from init" -l hostname -d 'Set \'hostname\' in public key information' -r complete -c rustic -n "__fish_seen_subcommand_from init" -l username -d 'Set \'username\' in public key information' -r complete -c rustic -n "__fish_seen_subcommand_from init" -l set-compression -d 'Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression' -r complete -c rustic -n "__fish_seen_subcommand_from init" -l set-version -d 'Set repository version. Allowed versions: 1,2' -r -complete -c rustic -n "__fish_seen_subcommand_from init" -l set-treepack-size -d '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' -r -complete -c rustic -n "__fish_seen_subcommand_from init" -l set-treepack-size-limit -d 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately 4 GiB' -r -complete -c rustic -n "__fish_seen_subcommand_from init" -l set-treepack-growfactor -d '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' -r -complete -c rustic -n "__fish_seen_subcommand_from init" -l set-datapack-size -d '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' -r -complete -c rustic -n "__fish_seen_subcommand_from init" -l set-datapack-growfactor -d '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' -r -complete -c rustic -n "__fish_seen_subcommand_from init" -l set-datapack-size-limit -d 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately 4 GiB' -r -complete -c rustic -n "__fish_seen_subcommand_from init" -l set-min-packsize-tolerate-percent -d 'Set minimum tolerated packsize in percent of the targeted packsize. Defaults to 30 if not set' -r -complete -c rustic -n "__fish_seen_subcommand_from init" -l set-max-packsize-tolerate-percent -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from init" -l set-treepack-size -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from init" -l set-treepack-size-limit -d 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`' -r +complete -c rustic -n "__fish_seen_subcommand_from init" -l set-treepack-growfactor -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from init" -l set-datapack-size -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from init" -l set-datapack-growfactor -d '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' -r +complete -c rustic -n "__fish_seen_subcommand_from init" -l set-datapack-size-limit -d 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`' -r +complete -c rustic -n "__fish_seen_subcommand_from init" -l set-min-packsize-tolerate-percent -d 'Set minimum tolerated packsize in percent of the targeted packsize. Defaults to `30` if not set' -r +complete -c rustic -n "__fish_seen_subcommand_from init" -l set-max-packsize-tolerate-percent -d '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' -r complete -c rustic -n "__fish_seen_subcommand_from init" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from init" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from init" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from init" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from init" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from init" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from init" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from init" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from init" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from init" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from init" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from init" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from init" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from init" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from init" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -499,16 +522,16 @@ complete -c rustic -n "__fish_seen_subcommand_from init" -s n -l dry-run -d 'Onl complete -c rustic -n "__fish_seen_subcommand_from init" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from init" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from init" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from init" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from init" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -521,21 +544,21 @@ complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subc complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -f -a "add" -d 'Add a new key to the repository' complete -c rustic -n "__fish_seen_subcommand_from key; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l new-password-file -d 'File from which to read the new password' -r +complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l new-password-file -d 'File from which to read the new password' -r -F complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l hostname -d 'Set \'hostname\' in public key information' -r complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l username -d 'Set \'username\' in public key information' -r complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -549,18 +572,18 @@ complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcomma complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from add" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -f -a "add" -d 'Add a new key to the repository' complete -c rustic -n "__fish_seen_subcommand_from key; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from add; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' complete -c rustic -n "__fish_seen_subcommand_from list" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from list" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from list" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from list" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from list" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from list" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from list" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from list" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from list" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from list" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from list" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from list" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from list" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from list" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from list" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -573,20 +596,20 @@ complete -c rustic -n "__fish_seen_subcommand_from list" -s n -l dry-run -d 'Onl complete -c rustic -n "__fish_seen_subcommand_from list" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from list" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from list" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from list" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from list" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from ls" -l glob -d 'Glob pattern to exclude/include (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -l iglob -d 'Same as --glob pattern but ignores the casing of filenames' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -l glob-file -d 'Read glob patterns to exclude/include from this file (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -l iglob-file -d 'Same as --glob-file ignores the casing of filenames in patterns' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from ls" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from ls" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from ls" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from ls" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from ls" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from ls" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from ls" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from ls" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -595,27 +618,31 @@ complete -c rustic -n "__fish_seen_subcommand_from ls" -l filter-label -d 'Label complete -c rustic -n "__fish_seen_subcommand_from ls" -l filter-paths -d 'Path list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -l filter-tags -d 'Tag list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from ls" -l filter-fn -d 'Function to filter snapshots' -r -complete -c rustic -n "__fish_seen_subcommand_from ls" -l recursive -d 'recursively list the dir (default when no PATH is given)' +complete -c rustic -n "__fish_seen_subcommand_from ls" -s s -l summary -d 'show summary' +complete -c rustic -n "__fish_seen_subcommand_from ls" -s l -l long -d 'show long listing' +complete -c rustic -n "__fish_seen_subcommand_from ls" -l recursive -d 'recursively list the dir' complete -c rustic -n "__fish_seen_subcommand_from ls" -s n -l dry-run -d 'Only show what would be done without modifying anything. Does not affect read-only commands' complete -c rustic -n "__fish_seen_subcommand_from ls" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from ls" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from ls" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from ls" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from ls" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from merge" -l label -d 'Label snapshot with given label' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -l tag -d 'Tags to add to snapshot (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -l description -d 'Add description to snapshot' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -l description-from -d 'Add description to snapshot from file' -r -F +complete -c rustic -n "__fish_seen_subcommand_from merge" -l time -d 'Set the backup time manually' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -l delete-after -d 'Mark snapshot to be deleted after given duration (e.g. 10d)' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -l host -d 'Set the host name manually' -r +complete -c rustic -n "__fish_seen_subcommand_from merge" -l command -d 'Set the backup command manually' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from merge" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from merge" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from merge" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from merge" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from merge" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from merge" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from merge" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from merge" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from merge" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -631,17 +658,17 @@ complete -c rustic -n "__fish_seen_subcommand_from merge" -s n -l dry-run -d 'On complete -c rustic -n "__fish_seen_subcommand_from merge" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from merge" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from merge" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from merge" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from merge" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from snapshots" -s g -l group-by -d 'Group snapshots by any combination of host,label,paths,tags' -r complete -c rustic -n "__fish_seen_subcommand_from snapshots" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from snapshots" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from snapshots" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -657,16 +684,16 @@ complete -c rustic -n "__fish_seen_subcommand_from snapshots" -s n -l dry-run -d complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from snapshots" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from snapshots" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from snapshots" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from show-config" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from show-config" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from show-config" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from show-config" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from show-config" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from show-config" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from show-config" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from show-config" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from show-config" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from show-config" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from show-config" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from show-config" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from show-config" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from show-config" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from show-config" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -679,16 +706,16 @@ complete -c rustic -n "__fish_seen_subcommand_from show-config" -s n -l dry-run complete -c rustic -n "__fish_seen_subcommand_from show-config" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from show-config" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from show-config" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from show-config" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from show-config" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from self-update" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from self-update" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from self-update" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from self-update" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from self-update" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from self-update" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from self-update" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from self-update" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from self-update" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from self-update" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from self-update" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from self-update" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from self-update" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from self-update" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from self-update" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -702,21 +729,21 @@ complete -c rustic -n "__fish_seen_subcommand_from self-update" -s n -l dry-run complete -c rustic -n "__fish_seen_subcommand_from self-update" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from self-update" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from self-update" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from self-update" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from self-update" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from prune" -l max-repack -d 'Define maximum data to repack in % of reposize or as size (e.g. \'5b\', \'2 kB\', \'3M\', \'4TiB\') or \'unlimited\'' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -l max-unused -d 'Tolerate limit of unused data in % of reposize after pruning or as size (e.g. \'5b\', \'2 kB\', \'3M\', \'4TiB\') or \'unlimited\'' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -l keep-pack -d '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' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -l keep-delete -d 'Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won\'t be deleted within this prune run' -r -complete -c rustic -n "__fish_seen_subcommand_from prune" -l repack-cacheable-only -d 'Only repack packs which are cacheable [default: true for a hot/cold repository, else false]' -r -f -a "{true ,false }" +complete -c rustic -n "__fish_seen_subcommand_from prune" -l repack-cacheable-only -d 'Only repack packs which are cacheable [default: true for a hot/cold repository, else false]' -r -f -a "{true '',false ''}" complete -c rustic -n "__fish_seen_subcommand_from prune" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from prune" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from prune" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from prune" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from prune" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from prune" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from prune" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from prune" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from prune" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -725,7 +752,7 @@ complete -c rustic -n "__fish_seen_subcommand_from prune" -l filter-label -d 'La complete -c rustic -n "__fish_seen_subcommand_from prune" -l filter-paths -d 'Path list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -l filter-tags -d 'Tag list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from prune" -l filter-fn -d 'Function to filter snapshots' -r -complete -c rustic -n "__fish_seen_subcommand_from prune" -l instant-delete -d 'Delete files immediately instead of marking them. This also removes all files already marked for deletion. WARNING: Only use if you are sure the repository is not accessed by parallel processes!' +complete -c rustic -n "__fish_seen_subcommand_from prune" -l instant-delete -d 'Delete files immediately instead of marking them. This also removes all files already marked for deletion' complete -c rustic -n "__fish_seen_subcommand_from prune" -l fast-repack -d 'Simply copy blobs when repacking instead of decrypting; possibly compressing; encrypting' complete -c rustic -n "__fish_seen_subcommand_from prune" -l repack-uncompressed -d 'Repack packs containing uncompressed blobs. This cannot be used with --fast-repack. Implies --max-unused=0' complete -c rustic -n "__fish_seen_subcommand_from prune" -l repack-all -d 'Repack all packs. Implies --max-unused=0' @@ -734,7 +761,7 @@ complete -c rustic -n "__fish_seen_subcommand_from prune" -s n -l dry-run -d 'On complete -c rustic -n "__fish_seen_subcommand_from prune" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from prune" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from prune" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from prune" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from prune" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from restore" -l glob -d 'Glob pattern to exclude/include (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from restore" -l iglob -d 'Same as --glob pattern but ignores the casing of filenames' -r complete -c rustic -n "__fish_seen_subcommand_from restore" -l glob-file -d 'Read glob patterns to exclude/include from this file (can be specified multiple times)' -r @@ -746,34 +773,35 @@ complete -c rustic -n "__fish_seen_subcommand_from restore" -l filter-tags -d 'T complete -c rustic -n "__fish_seen_subcommand_from restore" -l filter-fn -d 'Function to filter snapshots' -r complete -c rustic -n "__fish_seen_subcommand_from restore" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from restore" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from restore" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from restore" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from restore" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from restore" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from restore" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from restore" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from restore" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from restore" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from restore" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from restore" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from restore" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from restore" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from restore" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r -complete -c rustic -n "__fish_seen_subcommand_from restore" -l delete -d 'Remove all files/dirs in destination which are not contained in snapshot. WARNING: Use with care, maybe first try this with --dry-run?' +complete -c rustic -n "__fish_seen_subcommand_from restore" -l delete -d 'Remove all files/dirs in destination which are not contained in snapshot' complete -c rustic -n "__fish_seen_subcommand_from restore" -l numeric-id -d 'Use numeric ids instead of user/group when restoring uid/gui' complete -c rustic -n "__fish_seen_subcommand_from restore" -l no-ownership -d 'Don\'t restore ownership (user/group)' complete -c rustic -n "__fish_seen_subcommand_from restore" -l verify-existing -d 'Always read and verify existing files (don\'t trust correct modification time and file size)' +complete -c rustic -n "__fish_seen_subcommand_from restore" -l recursive -d 'recursively list the dir' complete -c rustic -n "__fish_seen_subcommand_from restore" -s n -l dry-run -d 'Only show what would be done without modifying anything. Does not affect read-only commands' complete -c rustic -n "__fish_seen_subcommand_from restore" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from restore" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from restore" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from restore" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from restore" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -786,19 +814,19 @@ complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_s complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -f -a "index" -d 'Repair the repository index' complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -f -a "snapshots" -d 'Repair snapshots' complete -c rustic -n "__fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -807,23 +835,23 @@ complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subco complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l filter-paths -d 'Path list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l filter-tags -d 'Tag list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l filter-fn -d 'Function to filter snapshots' -r -complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l read-all +complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l read-all -d 'Read all data packs, i.e. completely re-create the index' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -s n -l dry-run -d 'Only show what would be done without modifying anything. Does not affect read-only commands' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from index" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l suffix -d 'Append this suffix to repaired directory or file name' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l tag -d 'Tag list to set on repaired snapshots (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -832,24 +860,24 @@ complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subco complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l filter-paths -d 'Path list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l filter-tags -d 'Tag list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l filter-fn -d 'Function to filter snapshots' -r -complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l delete -d 'Also remove defect snapshots - WARNING: This can result in data loss!' +complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l delete -d 'Also remove defect snapshots' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -s n -l dry-run -d 'Only show what would be done without modifying anything. Does not affect read-only commands' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from snapshots" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -f -a "index" -d 'Repair the repository index' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -f -a "snapshots" -d 'Repair snapshots' complete -c rustic -n "__fish_seen_subcommand_from repair; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from index; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -858,24 +886,27 @@ complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l filter-label -d complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l filter-paths -d 'Path list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l filter-tags -d 'Tag list to filter (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l filter-fn -d 'Function to filter snapshots' -r +complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l only-files -d 'Only scan repository files (doesn\'t need repository password)' +complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l only-index -d 'Only scan index' +complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l json -d 'Show infos in json format' complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -s n -l dry-run -d 'Only show what would be done without modifying anything. Does not affect read-only commands' complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from repoinfo" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from tag" -l add -d 'Tags to add (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from tag" -l remove -d 'Tags to remove (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from tag" -l set -d 'Tag list to set (can be specified multiple times)' -r complete -c rustic -n "__fish_seen_subcommand_from tag" -l set-delete-after -d 'Mark snapshot to be deleted after given duration (e.g. 10d)' -r complete -c rustic -n "__fish_seen_subcommand_from tag" -s P -l use-profile -d 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]' -r complete -c rustic -n "__fish_seen_subcommand_from tag" -l log-level -d 'Use this log level [default: info]' -r -complete -c rustic -n "__fish_seen_subcommand_from tag" -l log-file -d 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level' -r -F +complete -c rustic -n "__fish_seen_subcommand_from tag" -l log-file -d 'Write log messages to the given file instead of printing them' -r -F complete -c rustic -n "__fish_seen_subcommand_from tag" -l progress-interval -d 'Interval to update progress bars' -r complete -c rustic -n "__fish_seen_subcommand_from tag" -s r -l repository -d 'Repository to use' -r complete -c rustic -n "__fish_seen_subcommand_from tag" -l repo-hot -d 'Repository to use as hot storage' -r -complete -c rustic -n "__fish_seen_subcommand_from tag" -l password -d 'Password of the repository - WARNING: Using --password can reveal the password in the process list!' -r +complete -c rustic -n "__fish_seen_subcommand_from tag" -l password -d 'Password of the repository' -r complete -c rustic -n "__fish_seen_subcommand_from tag" -s p -l password-file -d 'File to read the password from' -r -F -complete -c rustic -n "__fish_seen_subcommand_from tag" -l password-command -d 'Command to read the password from' -r +complete -c rustic -n "__fish_seen_subcommand_from tag" -l password-command -d 'Command to read the password from. Password is read from stdout' -r complete -c rustic -n "__fish_seen_subcommand_from tag" -l cache-dir -d 'Use this dir as cache dir instead of the standard cache dir' -r -F complete -c rustic -n "__fish_seen_subcommand_from tag" -l warm-up-command -d 'Warm up needed data pack files by running the command with %id replaced by pack id' -r complete -c rustic -n "__fish_seen_subcommand_from tag" -l warm-up-wait -d 'Duration (e.g. 10m) to wait after warm up' -r @@ -890,7 +921,7 @@ complete -c rustic -n "__fish_seen_subcommand_from tag" -s n -l dry-run -d 'Only complete -c rustic -n "__fish_seen_subcommand_from tag" -l no-progress -d 'Don\'t show any progress bar' complete -c rustic -n "__fish_seen_subcommand_from tag" -l no-cache -d 'Don\'t use a cache' complete -c rustic -n "__fish_seen_subcommand_from tag" -l warm-up -d 'Warm up needed data pack files by only requesting them without processing' -complete -c rustic -n "__fish_seen_subcommand_from tag" -s h -l help -d 'Print help' +complete -c rustic -n "__fish_seen_subcommand_from tag" -s h -l help -d 'Print help (see more with \'--help\')' complete -c rustic -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from backup; and not __fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from check; and not __fish_seen_subcommand_from copy; and not __fish_seen_subcommand_from diff; and not __fish_seen_subcommand_from dump; and not __fish_seen_subcommand_from forget; and not __fish_seen_subcommand_from init; and not __fish_seen_subcommand_from key; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from ls; and not __fish_seen_subcommand_from merge; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from show-config; and not __fish_seen_subcommand_from self-update; and not __fish_seen_subcommand_from prune; and not __fish_seen_subcommand_from restore; and not __fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from repoinfo; and not __fish_seen_subcommand_from tag; and not __fish_seen_subcommand_from help" -f -a "backup" -d 'Backup to the repository' complete -c rustic -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from backup; and not __fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from check; and not __fish_seen_subcommand_from copy; and not __fish_seen_subcommand_from diff; and not __fish_seen_subcommand_from dump; and not __fish_seen_subcommand_from forget; and not __fish_seen_subcommand_from init; and not __fish_seen_subcommand_from key; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from ls; and not __fish_seen_subcommand_from merge; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from show-config; and not __fish_seen_subcommand_from self-update; and not __fish_seen_subcommand_from prune; and not __fish_seen_subcommand_from restore; and not __fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from repoinfo; and not __fish_seen_subcommand_from tag; and not __fish_seen_subcommand_from help" -f -a "cat" -d 'Show raw data of repository files and blobs' complete -c rustic -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from backup; and not __fish_seen_subcommand_from cat; and not __fish_seen_subcommand_from config; and not __fish_seen_subcommand_from completions; and not __fish_seen_subcommand_from check; and not __fish_seen_subcommand_from copy; and not __fish_seen_subcommand_from diff; and not __fish_seen_subcommand_from dump; and not __fish_seen_subcommand_from forget; and not __fish_seen_subcommand_from init; and not __fish_seen_subcommand_from key; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from ls; and not __fish_seen_subcommand_from merge; and not __fish_seen_subcommand_from snapshots; and not __fish_seen_subcommand_from show-config; and not __fish_seen_subcommand_from self-update; and not __fish_seen_subcommand_from prune; and not __fish_seen_subcommand_from restore; and not __fish_seen_subcommand_from repair; and not __fish_seen_subcommand_from repoinfo; and not __fish_seen_subcommand_from tag; and not __fish_seen_subcommand_from help" -f -a "config" -d 'Change the repository configuration' diff --git a/tests/completions-fixtures/powershell.txt b/tests/completions-fixtures/powershell.txt index 8280bff45..8852c39b6 100644 --- a/tests/completions-fixtures/powershell.txt +++ b/tests/completions-fixtures/powershell.txt @@ -21,18 +21,18 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { $completions = @(switch ($command) { 'rustic' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -46,9 +46,9 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('-V', 'V ', [CompletionResultType]::ParameterName, 'Print version') [CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Print version') [CompletionResult]::new('backup', 'backup', [CompletionResultType]::ParameterValue, 'Backup to the repository') [CompletionResult]::new('cat', 'cat', [CompletionResultType]::ParameterValue, 'Show raw data of repository files and blobs') @@ -76,35 +76,49 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { break } 'rustic;backup' { + [CompletionResult]::new('--stdin-filename', 'stdin-filename', [CompletionResultType]::ParameterName, 'Set filename to be used when backing up from stdin') + [CompletionResult]::new('--as-path', 'as-path', [CompletionResultType]::ParameterName, 'Manually set backup path in snapshot') [CompletionResult]::new('-g', 'g', [CompletionResultType]::ParameterName, 'Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default: host,label,paths)') [CompletionResult]::new('--group-by', 'group-by', [CompletionResultType]::ParameterName, 'Group snapshots by any combination of host,label,paths,tags to find a suitable parent (default: host,label,paths)') [CompletionResult]::new('--parent', 'parent', [CompletionResultType]::ParameterName, 'Snapshot to use as parent') - [CompletionResult]::new('--stdin-filename', 'stdin-filename', [CompletionResultType]::ParameterName, 'Set filename to be used when backing up from stdin') - [CompletionResult]::new('--as-path', 'as-path', [CompletionResultType]::ParameterName, 'Manually set backup path in snapshot') [CompletionResult]::new('--glob', 'glob', [CompletionResultType]::ParameterName, 'Glob pattern to exclude/include (can be specified multiple times)') [CompletionResult]::new('--iglob', 'iglob', [CompletionResultType]::ParameterName, 'Same as --glob pattern but ignores the casing of filenames') [CompletionResult]::new('--glob-file', 'glob-file', [CompletionResultType]::ParameterName, 'Read glob patterns to exclude/include from this file (can be specified multiple times)') [CompletionResult]::new('--iglob-file', 'iglob-file', [CompletionResultType]::ParameterName, 'Same as --glob-file ignores the casing of filenames in patterns') [CompletionResult]::new('--exclude-if-present', 'exclude-if-present', [CompletionResultType]::ParameterName, 'Exclude contents of directories containing this filename (can be specified multiple times)') - [CompletionResult]::new('--exclude-larger-than', 'exclude-larger-than', [CompletionResultType]::ParameterName, 'Maximum size of files to be backuped. Larger files will be excluded') + [CompletionResult]::new('--exclude-larger-than', 'exclude-larger-than', [CompletionResultType]::ParameterName, 'Maximum size of files to be backed up. Larger files will be excluded') [CompletionResult]::new('--label', 'label', [CompletionResultType]::ParameterName, 'Label snapshot with given label') [CompletionResult]::new('--tag', 'tag', [CompletionResultType]::ParameterName, 'Tags to add to snapshot (can be specified multiple times)') [CompletionResult]::new('--description', 'description', [CompletionResultType]::ParameterName, 'Add description to snapshot') [CompletionResult]::new('--description-from', 'description-from', [CompletionResultType]::ParameterName, 'Add description to snapshot from file') + [CompletionResult]::new('--time', 'time', [CompletionResultType]::ParameterName, 'Set the backup time manually') [CompletionResult]::new('--delete-after', 'delete-after', [CompletionResultType]::ParameterName, 'Mark snapshot to be deleted after given duration (e.g. 10d)') [CompletionResult]::new('--host', 'host', [CompletionResultType]::ParameterName, 'Set the host name manually') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('--command', 'command', [CompletionResultType]::ParameterName, 'Set the backup command manually') + [CompletionResult]::new('--hostname', 'hostname', [CompletionResultType]::ParameterName, 'Set ''hostname'' in public key information') + [CompletionResult]::new('--username', 'username', [CompletionResultType]::ParameterName, 'Set ''username'' in public key information') + [CompletionResult]::new('--set-compression', 'set-compression', [CompletionResultType]::ParameterName, 'Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression') + [CompletionResult]::new('--set-version', 'set-version', [CompletionResultType]::ParameterName, 'Set repository version. Allowed versions: 1,2') + [CompletionResult]::new('--set-treepack-size', 'set-treepack-size', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-treepack-size-limit', 'set-treepack-size-limit', [CompletionResultType]::ParameterName, 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`') + [CompletionResult]::new('--set-treepack-growfactor', 'set-treepack-growfactor', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-datapack-size', 'set-datapack-size', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-datapack-growfactor', 'set-datapack-growfactor', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-datapack-size-limit', 'set-datapack-size-limit', [CompletionResultType]::ParameterName, 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`') + [CompletionResult]::new('--set-min-packsize-tolerate-percent', 'set-min-packsize-tolerate-percent', [CompletionResultType]::ParameterName, 'Set minimum tolerated packsize in percent of the targeted packsize. Defaults to `30` if not set') + [CompletionResult]::new('--set-max-packsize-tolerate-percent', 'set-max-packsize-tolerate-percent', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -113,39 +127,42 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--filter-paths', 'filter-paths', [CompletionResultType]::ParameterName, 'Path list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-tags', 'filter-tags', [CompletionResultType]::ParameterName, 'Tag list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-fn', 'filter-fn', [CompletionResultType]::ParameterName, 'Function to filter snapshots') + [CompletionResult]::new('--with-atime', 'with-atime', [CompletionResultType]::ParameterName, 'Save access time for files and directories') + [CompletionResult]::new('--ignore-devid', 'ignore-devid', [CompletionResultType]::ParameterName, 'Don''t save device ID for files and directories') + [CompletionResult]::new('--json', 'json', [CompletionResultType]::ParameterName, 'Output generated snapshot in json format') + [CompletionResult]::new('--init', 'init', [CompletionResultType]::ParameterName, 'Initialize repository, if it doesn''t exist yet') [CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Use no parent, read all files') [CompletionResult]::new('--force', 'force', [CompletionResultType]::ParameterName, 'Use no parent, read all files') [CompletionResult]::new('--ignore-ctime', 'ignore-ctime', [CompletionResultType]::ParameterName, 'Ignore ctime changes when checking for modified files') [CompletionResult]::new('--ignore-inode', 'ignore-inode', [CompletionResultType]::ParameterName, 'Ignore inode number changes when checking for modified files') - [CompletionResult]::new('--with-atime', 'with-atime', [CompletionResultType]::ParameterName, 'Save access time for files and directories') - [CompletionResult]::new('--ignore-devid', 'ignore-devid', [CompletionResultType]::ParameterName, 'Don''t save device ID for files and directories') [CompletionResult]::new('--git-ignore', 'git-ignore', [CompletionResultType]::ParameterName, 'Ignore files based on .gitignore files') + [CompletionResult]::new('--no-require-git', 'no-require-git', [CompletionResultType]::ParameterName, 'Do not require a git repository to apply git-ignore rule') [CompletionResult]::new('-x', 'x', [CompletionResultType]::ParameterName, 'Exclude other file systems, don''t cross filesystem boundaries and subvolumes') [CompletionResult]::new('--one-file-system', 'one-file-system', [CompletionResultType]::ParameterName, 'Exclude other file systems, don''t cross filesystem boundaries and subvolumes') [CompletionResult]::new('--delete-never', 'delete-never', [CompletionResultType]::ParameterName, 'Mark snapshot as uneraseable') - [CompletionResult]::new('--json', 'json', [CompletionResultType]::ParameterName, 'Output generated snapshot in json format') + [CompletionResult]::new('--with-created', 'with-created', [CompletionResultType]::ParameterName, 'Add ''created'' date in public key information') [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--dry-run', 'dry-run', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;cat' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -159,8 +176,8 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [CompletionResult]::new('tree-blob', 'tree-blob', [CompletionResultType]::ParameterValue, 'Display a tree blob') [CompletionResult]::new('data-blob', 'data-blob', [CompletionResultType]::ParameterValue, 'Display a data blob') [CompletionResult]::new('config', 'config', [CompletionResultType]::ParameterValue, 'Display the config file') @@ -171,18 +188,18 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { break } 'rustic;cat;tree-blob' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -196,23 +213,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;cat;data-blob' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -226,23 +243,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;cat;config' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -256,23 +273,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;cat;index' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -286,23 +303,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;cat;snapshot' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -316,23 +333,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;cat;tree' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -346,8 +363,8 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;cat;help' { @@ -384,26 +401,26 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { 'rustic;config' { [CompletionResult]::new('--set-compression', 'set-compression', [CompletionResultType]::ParameterName, 'Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression') [CompletionResult]::new('--set-version', 'set-version', [CompletionResultType]::ParameterName, 'Set repository version. Allowed versions: 1,2') - [CompletionResult]::new('--set-treepack-size', 'set-treepack-size', [CompletionResultType]::ParameterName, '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') - [CompletionResult]::new('--set-treepack-size-limit', 'set-treepack-size-limit', [CompletionResultType]::ParameterName, 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately 4 GiB') - [CompletionResult]::new('--set-treepack-growfactor', 'set-treepack-growfactor', [CompletionResultType]::ParameterName, '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') - [CompletionResult]::new('--set-datapack-size', 'set-datapack-size', [CompletionResultType]::ParameterName, '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') - [CompletionResult]::new('--set-datapack-growfactor', 'set-datapack-growfactor', [CompletionResultType]::ParameterName, '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') - [CompletionResult]::new('--set-datapack-size-limit', 'set-datapack-size-limit', [CompletionResultType]::ParameterName, 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately 4 GiB') - [CompletionResult]::new('--set-min-packsize-tolerate-percent', 'set-min-packsize-tolerate-percent', [CompletionResultType]::ParameterName, 'Set minimum tolerated packsize in percent of the targeted packsize. Defaults to 30 if not set') - [CompletionResult]::new('--set-max-packsize-tolerate-percent', 'set-max-packsize-tolerate-percent', [CompletionResultType]::ParameterName, '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') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('--set-treepack-size', 'set-treepack-size', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-treepack-size-limit', 'set-treepack-size-limit', [CompletionResultType]::ParameterName, 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`') + [CompletionResult]::new('--set-treepack-growfactor', 'set-treepack-growfactor', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-datapack-size', 'set-datapack-size', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-datapack-growfactor', 'set-datapack-growfactor', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-datapack-size-limit', 'set-datapack-size-limit', [CompletionResultType]::ParameterName, 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`') + [CompletionResult]::new('--set-min-packsize-tolerate-percent', 'set-min-packsize-tolerate-percent', [CompletionResultType]::ParameterName, 'Set minimum tolerated packsize in percent of the targeted packsize. Defaults to `30` if not set') + [CompletionResult]::new('--set-max-packsize-tolerate-percent', 'set-max-packsize-tolerate-percent', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -417,23 +434,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;completions' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -447,23 +464,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;check' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -479,23 +496,25 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;copy' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('--hostname', 'hostname', [CompletionResultType]::ParameterName, 'Set ''hostname'' in public key information') + [CompletionResult]::new('--username', 'username', [CompletionResultType]::ParameterName, 'Set ''username'' in public key information') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -504,13 +523,15 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--filter-paths', 'filter-paths', [CompletionResultType]::ParameterName, 'Path list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-tags', 'filter-tags', [CompletionResultType]::ParameterName, 'Tag list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-fn', 'filter-fn', [CompletionResultType]::ParameterName, 'Function to filter snapshots') + [CompletionResult]::new('--init', 'init', [CompletionResultType]::ParameterName, 'Initialize non-existing target repositories') + [CompletionResult]::new('--with-created', 'with-created', [CompletionResultType]::ParameterName, 'Add ''created'' date in public key information') [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--dry-run', 'dry-run', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;diff' { @@ -519,19 +540,19 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--glob-file', 'glob-file', [CompletionResultType]::ParameterName, 'Read glob patterns to exclude/include from this file (can be specified multiple times)') [CompletionResult]::new('--iglob-file', 'iglob-file', [CompletionResultType]::ParameterName, 'Same as --glob-file ignores the casing of filenames in patterns') [CompletionResult]::new('--exclude-if-present', 'exclude-if-present', [CompletionResultType]::ParameterName, 'Exclude contents of directories containing this filename (can be specified multiple times)') - [CompletionResult]::new('--exclude-larger-than', 'exclude-larger-than', [CompletionResultType]::ParameterName, 'Maximum size of files to be backuped. Larger files will be excluded') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('--exclude-larger-than', 'exclude-larger-than', [CompletionResultType]::ParameterName, 'Maximum size of files to be backed up. Larger files will be excluded') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -543,6 +564,7 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--metadata', 'metadata', [CompletionResultType]::ParameterName, 'show differences in metadata') [CompletionResult]::new('--no-content', 'no-content', [CompletionResultType]::ParameterName, 'don''t check for different file contents') [CompletionResult]::new('--git-ignore', 'git-ignore', [CompletionResultType]::ParameterName, 'Ignore files based on .gitignore files') + [CompletionResult]::new('--no-require-git', 'no-require-git', [CompletionResultType]::ParameterName, 'Do not require a git repository to apply git-ignore rule') [CompletionResult]::new('-x', 'x', [CompletionResultType]::ParameterName, 'Exclude other file systems, don''t cross filesystem boundaries and subvolumes') [CompletionResult]::new('--one-file-system', 'one-file-system', [CompletionResultType]::ParameterName, 'Exclude other file systems, don''t cross filesystem boundaries and subvolumes') [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') @@ -550,23 +572,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;dump' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -580,8 +602,8 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;forget' { @@ -596,7 +618,7 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--keep-id', 'keep-id', [CompletionResultType]::ParameterName, 'Keep snapshots ids that start with ID (can be specified multiple times)') [CompletionResult]::new('-l', 'l', [CompletionResultType]::ParameterName, 'Keep the last N snapshots (N == -1: keep all snapshots)') [CompletionResult]::new('--keep-last', 'keep-last', [CompletionResultType]::ParameterName, 'Keep the last N snapshots (N == -1: keep all snapshots)') - [CompletionResult]::new('-H', 'H', [CompletionResultType]::ParameterName, 'Keep the last N hourly snapshots (N == -1: keep all hourly snapshots)') + [CompletionResult]::new('-H', 'H ', [CompletionResultType]::ParameterName, 'Keep the last N hourly snapshots (N == -1: keep all hourly snapshots)') [CompletionResult]::new('--keep-hourly', 'keep-hourly', [CompletionResultType]::ParameterName, 'Keep the last N hourly snapshots (N == -1: keep all hourly snapshots)') [CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'Keep the last N daily snapshots (N == -1: keep all daily snapshots)') [CompletionResult]::new('--keep-daily', 'keep-daily', [CompletionResultType]::ParameterName, 'Keep the last N daily snapshots (N == -1: keep all daily snapshots)') @@ -621,23 +643,24 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--keep-pack', 'keep-pack', [CompletionResultType]::ParameterName, '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') [CompletionResult]::new('--keep-delete', 'keep-delete', [CompletionResultType]::ParameterName, 'Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won''t be deleted within this prune run') [CompletionResult]::new('--repack-cacheable-only', 'repack-cacheable-only', [CompletionResultType]::ParameterName, 'Only repack packs which are cacheable [default: true for a hot/cold repository, else false]') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') + [CompletionResult]::new('--json', 'json', [CompletionResultType]::ParameterName, 'Show infos in json format') [CompletionResult]::new('--prune', 'prune', [CompletionResultType]::ParameterName, 'Also prune the repository') - [CompletionResult]::new('--instant-delete', 'instant-delete', [CompletionResultType]::ParameterName, 'Delete files immediately instead of marking them. This also removes all files already marked for deletion. WARNING: Only use if you are sure the repository is not accessed by parallel processes!') + [CompletionResult]::new('--instant-delete', 'instant-delete', [CompletionResultType]::ParameterName, 'Delete files immediately instead of marking them. This also removes all files already marked for deletion') [CompletionResult]::new('--fast-repack', 'fast-repack', [CompletionResultType]::ParameterName, 'Simply copy blobs when repacking instead of decrypting; possibly compressing; encrypting') [CompletionResult]::new('--repack-uncompressed', 'repack-uncompressed', [CompletionResultType]::ParameterName, 'Repack packs containing uncompressed blobs. This cannot be used with --fast-repack. Implies --max-unused=0') [CompletionResult]::new('--repack-all', 'repack-all', [CompletionResultType]::ParameterName, 'Repack all packs. Implies --max-unused=0') @@ -647,8 +670,8 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;init' { @@ -656,26 +679,26 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--username', 'username', [CompletionResultType]::ParameterName, 'Set ''username'' in public key information') [CompletionResult]::new('--set-compression', 'set-compression', [CompletionResultType]::ParameterName, 'Set compression level. Allowed levels are 1 to 22 and -1 to -7, see . Note that 0 equals to no compression') [CompletionResult]::new('--set-version', 'set-version', [CompletionResultType]::ParameterName, 'Set repository version. Allowed versions: 1,2') - [CompletionResult]::new('--set-treepack-size', 'set-treepack-size', [CompletionResultType]::ParameterName, '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') - [CompletionResult]::new('--set-treepack-size-limit', 'set-treepack-size-limit', [CompletionResultType]::ParameterName, 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately 4 GiB') - [CompletionResult]::new('--set-treepack-growfactor', 'set-treepack-growfactor', [CompletionResultType]::ParameterName, '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') - [CompletionResult]::new('--set-datapack-size', 'set-datapack-size', [CompletionResultType]::ParameterName, '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') - [CompletionResult]::new('--set-datapack-growfactor', 'set-datapack-growfactor', [CompletionResultType]::ParameterName, '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') - [CompletionResult]::new('--set-datapack-size-limit', 'set-datapack-size-limit', [CompletionResultType]::ParameterName, 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately 4 GiB') - [CompletionResult]::new('--set-min-packsize-tolerate-percent', 'set-min-packsize-tolerate-percent', [CompletionResultType]::ParameterName, 'Set minimum tolerated packsize in percent of the targeted packsize. Defaults to 30 if not set') - [CompletionResult]::new('--set-max-packsize-tolerate-percent', 'set-max-packsize-tolerate-percent', [CompletionResultType]::ParameterName, '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') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('--set-treepack-size', 'set-treepack-size', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-treepack-size-limit', 'set-treepack-size-limit', [CompletionResultType]::ParameterName, 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`') + [CompletionResult]::new('--set-treepack-growfactor', 'set-treepack-growfactor', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-datapack-size', 'set-datapack-size', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-datapack-growfactor', 'set-datapack-growfactor', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('--set-datapack-size-limit', 'set-datapack-size-limit', [CompletionResultType]::ParameterName, 'Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs larger. If not set, pack sizes can grow up to approximately `4 GiB`') + [CompletionResult]::new('--set-min-packsize-tolerate-percent', 'set-min-packsize-tolerate-percent', [CompletionResultType]::ParameterName, 'Set minimum tolerated packsize in percent of the targeted packsize. Defaults to `30` if not set') + [CompletionResult]::new('--set-max-packsize-tolerate-percent', 'set-max-packsize-tolerate-percent', [CompletionResultType]::ParameterName, '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') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -690,23 +713,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;key' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -720,8 +743,8 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Add a new key to the repository') [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') break @@ -730,18 +753,18 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--new-password-file', 'new-password-file', [CompletionResultType]::ParameterName, 'File from which to read the new password') [CompletionResult]::new('--hostname', 'hostname', [CompletionResultType]::ParameterName, 'Set ''hostname'' in public key information') [CompletionResult]::new('--username', 'username', [CompletionResultType]::ParameterName, 'Set ''username'' in public key information') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -756,8 +779,8 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;key;help' { @@ -772,18 +795,18 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { break } 'rustic;list' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -797,8 +820,8 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;ls' { @@ -806,18 +829,18 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--iglob', 'iglob', [CompletionResultType]::ParameterName, 'Same as --glob pattern but ignores the casing of filenames') [CompletionResult]::new('--glob-file', 'glob-file', [CompletionResultType]::ParameterName, 'Read glob patterns to exclude/include from this file (can be specified multiple times)') [CompletionResult]::new('--iglob-file', 'iglob-file', [CompletionResultType]::ParameterName, 'Same as --glob-file ignores the casing of filenames in patterns') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -826,14 +849,18 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--filter-paths', 'filter-paths', [CompletionResultType]::ParameterName, 'Path list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-tags', 'filter-tags', [CompletionResultType]::ParameterName, 'Tag list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-fn', 'filter-fn', [CompletionResultType]::ParameterName, 'Function to filter snapshots') - [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'recursively list the dir (default when no PATH is given)') + [CompletionResult]::new('-s', 's', [CompletionResultType]::ParameterName, 'show summary') + [CompletionResult]::new('--summary', 'summary', [CompletionResultType]::ParameterName, 'show summary') + [CompletionResult]::new('-l', 'l', [CompletionResultType]::ParameterName, 'show long listing') + [CompletionResult]::new('--long', 'long', [CompletionResultType]::ParameterName, 'show long listing') + [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'recursively list the dir') [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--dry-run', 'dry-run', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;merge' { @@ -841,20 +868,22 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--tag', 'tag', [CompletionResultType]::ParameterName, 'Tags to add to snapshot (can be specified multiple times)') [CompletionResult]::new('--description', 'description', [CompletionResultType]::ParameterName, 'Add description to snapshot') [CompletionResult]::new('--description-from', 'description-from', [CompletionResultType]::ParameterName, 'Add description to snapshot from file') + [CompletionResult]::new('--time', 'time', [CompletionResultType]::ParameterName, 'Set the backup time manually') [CompletionResult]::new('--delete-after', 'delete-after', [CompletionResultType]::ParameterName, 'Mark snapshot to be deleted after given duration (e.g. 10d)') [CompletionResult]::new('--host', 'host', [CompletionResultType]::ParameterName, 'Set the host name manually') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('--command', 'command', [CompletionResultType]::ParameterName, 'Set the backup command manually') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -871,25 +900,25 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;snapshots' { [CompletionResult]::new('-g', 'g', [CompletionResultType]::ParameterName, 'Group snapshots by any combination of host,label,paths,tags') [CompletionResult]::new('--group-by', 'group-by', [CompletionResultType]::ParameterName, 'Group snapshots by any combination of host,label,paths,tags') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -906,23 +935,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;show-config' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -936,23 +965,23 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;self-update' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -967,8 +996,8 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;prune' { @@ -977,18 +1006,18 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--keep-pack', 'keep-pack', [CompletionResultType]::ParameterName, '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') [CompletionResult]::new('--keep-delete', 'keep-delete', [CompletionResultType]::ParameterName, 'Minimum duration (e.g. 10m) to keep packs marked for deletion. More recently marked packs won''t be deleted within this prune run') [CompletionResult]::new('--repack-cacheable-only', 'repack-cacheable-only', [CompletionResultType]::ParameterName, 'Only repack packs which are cacheable [default: true for a hot/cold repository, else false]') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -997,7 +1026,7 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--filter-paths', 'filter-paths', [CompletionResultType]::ParameterName, 'Path list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-tags', 'filter-tags', [CompletionResultType]::ParameterName, 'Tag list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-fn', 'filter-fn', [CompletionResultType]::ParameterName, 'Function to filter snapshots') - [CompletionResult]::new('--instant-delete', 'instant-delete', [CompletionResultType]::ParameterName, 'Delete files immediately instead of marking them. This also removes all files already marked for deletion. WARNING: Only use if you are sure the repository is not accessed by parallel processes!') + [CompletionResult]::new('--instant-delete', 'instant-delete', [CompletionResultType]::ParameterName, 'Delete files immediately instead of marking them. This also removes all files already marked for deletion') [CompletionResult]::new('--fast-repack', 'fast-repack', [CompletionResultType]::ParameterName, 'Simply copy blobs when repacking instead of decrypting; possibly compressing; encrypting') [CompletionResult]::new('--repack-uncompressed', 'repack-uncompressed', [CompletionResultType]::ParameterName, 'Repack packs containing uncompressed blobs. This cannot be used with --fast-repack. Implies --max-unused=0') [CompletionResult]::new('--repack-all', 'repack-all', [CompletionResultType]::ParameterName, 'Repack all packs. Implies --max-unused=0') @@ -1007,8 +1036,8 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;restore' { @@ -1021,47 +1050,48 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--filter-paths', 'filter-paths', [CompletionResultType]::ParameterName, 'Path list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-tags', 'filter-tags', [CompletionResultType]::ParameterName, 'Tag list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-fn', 'filter-fn', [CompletionResultType]::ParameterName, 'Function to filter snapshots') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') - [CompletionResult]::new('--delete', 'delete', [CompletionResultType]::ParameterName, 'Remove all files/dirs in destination which are not contained in snapshot. WARNING: Use with care, maybe first try this with --dry-run?') + [CompletionResult]::new('--delete', 'delete', [CompletionResultType]::ParameterName, 'Remove all files/dirs in destination which are not contained in snapshot') [CompletionResult]::new('--numeric-id', 'numeric-id', [CompletionResultType]::ParameterName, 'Use numeric ids instead of user/group when restoring uid/gui') [CompletionResult]::new('--no-ownership', 'no-ownership', [CompletionResultType]::ParameterName, 'Don''t restore ownership (user/group)') [CompletionResult]::new('--verify-existing', 'verify-existing', [CompletionResultType]::ParameterName, 'Always read and verify existing files (don''t trust correct modification time and file size)') + [CompletionResult]::new('--recursive', 'recursive', [CompletionResultType]::ParameterName, 'recursively list the dir') [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--dry-run', 'dry-run', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;repair' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -1075,26 +1105,26 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') [CompletionResult]::new('index', 'index', [CompletionResultType]::ParameterValue, 'Repair the repository index') [CompletionResult]::new('snapshots', 'snapshots', [CompletionResultType]::ParameterValue, 'Repair snapshots') [CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)') break } 'rustic;repair;index' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -1103,31 +1133,31 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--filter-paths', 'filter-paths', [CompletionResultType]::ParameterName, 'Path list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-tags', 'filter-tags', [CompletionResultType]::ParameterName, 'Tag list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-fn', 'filter-fn', [CompletionResultType]::ParameterName, 'Function to filter snapshots') - [CompletionResult]::new('--read-all', 'read-all', [CompletionResultType]::ParameterName, 'read-all') + [CompletionResult]::new('--read-all', 'read-all', [CompletionResultType]::ParameterName, 'Read all data packs, i.e. completely re-create the index') [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--dry-run', 'dry-run', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;repair;snapshots' { [CompletionResult]::new('--suffix', 'suffix', [CompletionResultType]::ParameterName, 'Append this suffix to repaired directory or file name') [CompletionResult]::new('--tag', 'tag', [CompletionResultType]::ParameterName, 'Tag list to set on repaired snapshots (can be specified multiple times)') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -1136,14 +1166,14 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--filter-paths', 'filter-paths', [CompletionResultType]::ParameterName, 'Path list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-tags', 'filter-tags', [CompletionResultType]::ParameterName, 'Tag list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-fn', 'filter-fn', [CompletionResultType]::ParameterName, 'Function to filter snapshots') - [CompletionResult]::new('--delete', 'delete', [CompletionResultType]::ParameterName, 'Also remove defect snapshots - WARNING: This can result in data loss!') + [CompletionResult]::new('--delete', 'delete', [CompletionResultType]::ParameterName, 'Also remove defect snapshots') [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--dry-run', 'dry-run', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;repair;help' { @@ -1162,18 +1192,18 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { break } 'rustic;repoinfo' { - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -1182,13 +1212,16 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--filter-paths', 'filter-paths', [CompletionResultType]::ParameterName, 'Path list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-tags', 'filter-tags', [CompletionResultType]::ParameterName, 'Tag list to filter (can be specified multiple times)') [CompletionResult]::new('--filter-fn', 'filter-fn', [CompletionResultType]::ParameterName, 'Function to filter snapshots') + [CompletionResult]::new('--only-files', 'only-files', [CompletionResultType]::ParameterName, 'Only scan repository files (doesn''t need repository password)') + [CompletionResult]::new('--only-index', 'only-index', [CompletionResultType]::ParameterName, 'Only scan index') + [CompletionResult]::new('--json', 'json', [CompletionResultType]::ParameterName, 'Show infos in json format') [CompletionResult]::new('-n', 'n', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--dry-run', 'dry-run', [CompletionResultType]::ParameterName, 'Only show what would be done without modifying anything. Does not affect read-only commands') [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;tag' { @@ -1196,18 +1229,18 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--remove', 'remove', [CompletionResultType]::ParameterName, 'Tags to remove (can be specified multiple times)') [CompletionResult]::new('--set', 'set', [CompletionResultType]::ParameterName, 'Tag list to set (can be specified multiple times)') [CompletionResult]::new('--set-delete-after', 'set-delete-after', [CompletionResultType]::ParameterName, 'Mark snapshot to be deleted after given duration (e.g. 10d)') - [CompletionResult]::new('-P', 'P', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') + [CompletionResult]::new('-P', 'P ', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--use-profile', 'use-profile', [CompletionResultType]::ParameterName, 'Config profile to use. This parses the file `.toml` in the config directory. [default: "rustic"]') [CompletionResult]::new('--log-level', 'log-level', [CompletionResultType]::ParameterName, 'Use this log level [default: info]') - [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them. Note: warnings and errors are still additionally printed unless they are ignored by --log-level') + [CompletionResult]::new('--log-file', 'log-file', [CompletionResultType]::ParameterName, 'Write log messages to the given file instead of printing them') [CompletionResult]::new('--progress-interval', 'progress-interval', [CompletionResultType]::ParameterName, 'Interval to update progress bars') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repository', 'repository', [CompletionResultType]::ParameterName, 'Repository to use') [CompletionResult]::new('--repo-hot', 'repo-hot', [CompletionResultType]::ParameterName, 'Repository to use as hot storage') - [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository - WARNING: Using --password can reveal the password in the process list!') + [CompletionResult]::new('--password', 'password', [CompletionResultType]::ParameterName, 'Password of the repository') [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'File to read the password from') [CompletionResult]::new('--password-file', 'password-file', [CompletionResultType]::ParameterName, 'File to read the password from') - [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from') + [CompletionResult]::new('--password-command', 'password-command', [CompletionResultType]::ParameterName, 'Command to read the password from. Password is read from stdout') [CompletionResult]::new('--cache-dir', 'cache-dir', [CompletionResultType]::ParameterName, 'Use this dir as cache dir instead of the standard cache dir') [CompletionResult]::new('--warm-up-command', 'warm-up-command', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by running the command with %id replaced by pack id') [CompletionResult]::new('--warm-up-wait', 'warm-up-wait', [CompletionResultType]::ParameterName, 'Duration (e.g. 10m) to wait after warm up') @@ -1223,8 +1256,8 @@ Register-ArgumentCompleter -Native -CommandName 'rustic' -ScriptBlock { [CompletionResult]::new('--no-progress', 'no-progress', [CompletionResultType]::ParameterName, 'Don''t show any progress bar') [CompletionResult]::new('--no-cache', 'no-cache', [CompletionResultType]::ParameterName, 'Don''t use a cache') [CompletionResult]::new('--warm-up', 'warm-up', [CompletionResultType]::ParameterName, 'Warm up needed data pack files by only requesting them without processing') - [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help') - [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help') + [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') + [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')') break } 'rustic;help' { diff --git a/tests/completions-fixtures/zsh.txt b/tests/completions-fixtures/zsh.txt index 34018ed70..8cb04dba7 100644 --- a/tests/completions-fixtures/zsh.txt +++ b/tests/completions-fixtures/zsh.txt @@ -18,15 +18,15 @@ _rustic() { '*-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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -40,8 +40,8 @@ _rustic() { '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ '-V[Print version]' \ '--version[Print version]' \ ":: :_rustic_commands" \ @@ -55,35 +55,49 @@ _rustic() { case $line[1] in (backup) _arguments "${_arguments_options[@]}" \ +'--stdin-filename=[Set filename to be used when backing up from stdin]:FILENAME: ' \ +'--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: ' \ -'--stdin-filename=[Set filename to be used when backing up from stdin]:FILENAME: ' \ -'--as-path=[Manually set backup path in snapshot]:PATH:_files' \ '*--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: ' \ '*--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 backuped. Larger files will be excluded]:SIZE: ' \ +'--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: ' \ '(--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: ' \ +'--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 up to some MiBs 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 up to some MiBs 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: ' \ '*-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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -92,24 +106,27 @@ _arguments "${_arguments_options[@]}" \ '*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ '*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ '--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'--with-atime[Save access time for files and directories]' \ +'--ignore-devid[Don'\''t save device ID for files and directories]' \ +'--json[Output generated snapshot in json format]' \ +'--init[Initialize repository, if it doesn'\''t exist yet]' \ '(--parent)-f[Use no parent, read all files]' \ '(--parent)--force[Use no parent, read all files]' \ '(-f --force)--ignore-ctime[Ignore ctime changes when checking for modified files]' \ '(-f --force)--ignore-inode[Ignore inode number changes when checking for modified files]' \ -'--with-atime[Save access time for files and directories]' \ -'--ignore-devid[Don'\''t save device ID for files and directories]' \ '--git-ignore[Ignore files based on .gitignore files]' \ +'--no-require-git[Do not require a git repository to apply git-ignore rule]' \ '-x[Exclude other file systems, don'\''t cross filesystem boundaries and subvolumes]' \ '--one-file-system[Exclude other file systems, don'\''t cross filesystem boundaries and subvolumes]' \ '(--delete-after)--delete-never[Mark snapshot as uneraseable]' \ -'--json[Output generated snapshot in json format]' \ +'--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]' \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ '*::cli_sources -- Backup source (can be specified multiple times), use - for stdin. If no source is given, uses all sources defined in the config file:' \ && ret=0 ;; @@ -118,15 +135,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -140,8 +157,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ":: :_rustic__cat_commands" \ "*::: :->cat" \ && ret=0 @@ -157,15 +174,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -179,8 +196,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ':id -- Id to display:' \ && ret=0 ;; @@ -189,15 +206,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -211,8 +228,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ':id -- Id to display:' \ && ret=0 ;; @@ -221,15 +238,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -243,8 +260,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ && ret=0 ;; (index) @@ -252,15 +269,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -274,8 +291,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ':id -- Id to display:' \ && ret=0 ;; @@ -284,15 +301,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -306,8 +323,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ':id -- Id to display:' \ && ret=0 ;; @@ -316,15 +333,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -338,8 +355,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ':snap -- Snapshot/path of the tree to display:' \ && ret=0 ;; @@ -395,26 +412,26 @@ esac _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-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 up to some MiBs 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 up to some MiBs 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: ' \ +'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs 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 up to some MiBs 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: ' \ '*-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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -428,8 +445,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ && ret=0 ;; (completions) @@ -437,15 +454,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -459,8 +476,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ':sh -- Shell to generate completions for:(bash fish zsh powershell)' \ && ret=0 ;; @@ -469,15 +486,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -493,24 +510,26 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ && ret=0 ;; (copy) _arguments "${_arguments_options[@]}" \ +'--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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -519,13 +538,15 @@ _arguments "${_arguments_options[@]}" \ '*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ '*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ '--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'--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]' \ '--dry-run[Only show what would be done without modifying anything. Does not affect read-only commands]' \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-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:' \ && ret=0 ;; @@ -536,19 +557,19 @@ _arguments "${_arguments_options[@]}" \ '*--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: ' \ '*--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 backuped. Larger files will be excluded]:SIZE: ' \ +'--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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -560,6 +581,7 @@ _arguments "${_arguments_options[@]}" \ '--metadata[show differences in metadata]' \ '--no-content[don'\''t check for different file contents]' \ '--git-ignore[Ignore files based on .gitignore files]' \ +'--no-require-git[Do not require a git repository to apply git-ignore rule]' \ '-x[Exclude other file systems, don'\''t cross filesystem boundaries and subvolumes]' \ '--one-file-system[Exclude other file systems, don'\''t cross filesystem boundaries and subvolumes]' \ '-n[Only show what would be done without modifying anything. Does not affect read-only commands]' \ @@ -567,8 +589,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ':snap1 -- Reference snapshot/path:' \ ':snap2 -- New snapshot/path or local path \[default for PATH2\: PATH1\]:' \ && ret=0 @@ -578,15 +600,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -600,8 +622,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ':snap -- file from snapshot to dump:' \ && ret=0 ;; @@ -646,20 +668,21 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ +'--json[Show infos in json format]' \ '--prune[Also prune the repository]' \ -'--instant-delete[Delete files immediately instead of marking them. This also removes all files already marked for deletion. WARNING\: Only use if you are sure the repository is not accessed by parallel processes!]' \ +'--instant-delete[Delete files immediately instead of marking them. This also removes all files already marked for deletion]' \ '--fast-repack[Simply copy blobs when repacking instead of decrypting; possibly compressing; encrypting]' \ '(--fast-repack)--repack-uncompressed[Repack packs containing uncompressed blobs. This cannot be used with --fast-repack. Implies --max-unused=0]' \ '--repack-all[Repack all packs. Implies --max-unused=0]' \ @@ -669,8 +692,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-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:' \ && ret=0 ;; @@ -680,26 +703,26 @@ _arguments "${_arguments_options[@]}" \ '--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: ' \ -'--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 up to some MiBs 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 up to some MiBs 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: ' \ +'--set-treepack-size-limit=[Set upper limit for default packsize for tree packs. Note that packs actually can get up to some MiBs 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 up to some MiBs 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: ' \ '*-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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -714,8 +737,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ && ret=0 ;; (key) @@ -723,15 +746,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -745,8 +768,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ":: :_rustic__key_commands" \ "*::: :->key" \ && ret=0 @@ -759,21 +782,21 @@ _arguments "${_arguments_options[@]}" \ case $line[1] in (add) _arguments "${_arguments_options[@]}" \ -'--new-password-file=[File from which to read the new password]:NEW_PASSWORD_FILE: ' \ +'--new-password-file=[File from which to read the new password]:NEW_PASSWORD_FILE:_files' \ '--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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -788,8 +811,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ && ret=0 ;; (help) @@ -825,15 +848,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -847,9 +870,9 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ -':tpe -- File type to list:(blobs index packs snapshots keys)' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':tpe -- File types to list:(blobs index packs snapshots keys)' \ && ret=0 ;; (ls) @@ -861,15 +884,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -878,14 +901,18 @@ _arguments "${_arguments_options[@]}" \ '*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ '*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ '--filter-fn=[Function to filter snapshots]:FUNC: ' \ -'--recursive[recursively list the dir (default when no PATH is given)]' \ +'-s[show summary]' \ +'--summary[show summary]' \ +'-l[show long listing]' \ +'--long[show long listing]' \ +'--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]' \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ':snap -- Snapshot/path to list:' \ && ret=0 ;; @@ -895,20 +922,22 @@ _arguments "${_arguments_options[@]}" \ '*--tag=[Tags to add to snapshot (can be specified multiple times)]:TAG[,TAG,..]: ' \ '--description=[Add description to snapshot]:DESCRIPTION: ' \ '(--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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -925,8 +954,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-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:' \ && ret=0 ;; @@ -937,15 +966,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -962,8 +991,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-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:' \ && ret=0 ;; @@ -972,15 +1001,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -994,8 +1023,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ && ret=0 ;; (self-update) @@ -1003,15 +1032,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -1026,8 +1055,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ && ret=0 ;; (prune) @@ -1040,15 +1069,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -1057,7 +1086,7 @@ _arguments "${_arguments_options[@]}" \ '*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ '*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ '--filter-fn=[Function to filter snapshots]:FUNC: ' \ -'--instant-delete[Delete files immediately instead of marking them. This also removes all files already marked for deletion. WARNING\: Only use if you are sure the repository is not accessed by parallel processes!]' \ +'--instant-delete[Delete files immediately instead of marking them. This also removes all files already marked for deletion]' \ '--fast-repack[Simply copy blobs when repacking instead of decrypting; possibly compressing; encrypting]' \ '(--fast-repack)--repack-uncompressed[Repack packs containing uncompressed blobs. This cannot be used with --fast-repack. Implies --max-unused=0]' \ '--repack-all[Repack all packs. Implies --max-unused=0]' \ @@ -1067,8 +1096,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ && ret=0 ;; (restore) @@ -1085,29 +1114,30 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ -'--delete[Remove all files/dirs in destination which are not contained in snapshot. WARNING\: Use with care, maybe first try this with --dry-run?]' \ +'--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)]' \ '--verify-existing[Always read and verify existing files (don'\''t trust correct modification time and file size)]' \ +'--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]' \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ':snap -- Snapshot/path to restore:' \ ':dest -- Restore destination:' \ && ret=0 @@ -1117,15 +1147,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -1139,8 +1169,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ ":: :_rustic__repair_commands" \ "*::: :->repair" \ && ret=0 @@ -1156,15 +1186,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -1173,14 +1203,14 @@ _arguments "${_arguments_options[@]}" \ '*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ '*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ '--filter-fn=[Function to filter snapshots]:FUNC: ' \ -'--read-all[]' \ +'--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]' \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ && ret=0 ;; (snapshots) @@ -1190,15 +1220,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -1207,14 +1237,14 @@ _arguments "${_arguments_options[@]}" \ '*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ '*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ '--filter-fn=[Function to filter snapshots]:FUNC: ' \ -'--delete[Also remove defect snapshots - WARNING\: This can result in data loss!]' \ +'--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]' \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-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:' \ && ret=0 ;; @@ -1255,15 +1285,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -1272,13 +1302,16 @@ _arguments "${_arguments_options[@]}" \ '*--filter-paths=[Path list to filter (can be specified multiple times)]:PATH[,PATH,..]: ' \ '*--filter-tags=[Tag list to filter (can be specified multiple times)]:TAG[,TAG,..]: ' \ '--filter-fn=[Function to filter snapshots]:FUNC: ' \ +'--only-files[Only scan repository files (doesn'\''t need repository password)]' \ +'--only-index[Only scan index]' \ +'--json[Show infos in json format]' \ '-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]' \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ && ret=0 ;; (tag) @@ -1290,15 +1323,15 @@ _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: ' \ -'--log-file=[Write log messages to the given file instead of printing them. Note\: warnings and errors are still additionally printed unless they are ignored by --log-level]:LOGFILE:_files' \ +'--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: ' \ '-r+[Repository to use]:REPOSITORY: ' \ '--repository=[Repository to use]:REPOSITORY: ' \ '--repo-hot=[Repository to use as hot storage]:REPO_HOT: ' \ -'--password=[Password of the repository - WARNING\: Using --password can reveal the password in the process list!]:PASSWORD: ' \ +'--password=[Password of the repository]:PASSWORD: ' \ '(--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_COMMAND: ' \ +'(--password -p --password-file)--password-command=[Command to read the password from. Password is read from stdout]:PASSWORD_COMMAND: ' \ '(--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: ' \ @@ -1314,8 +1347,8 @@ _arguments "${_arguments_options[@]}" \ '--no-progress[Don'\''t show any progress bar]' \ '--no-cache[Don'\''t use a cache]' \ '--warm-up[Warm up needed data pack files by only requesting them without processing]' \ -'-h[Print help]' \ -'--help[Print help]' \ +'-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:' \ && ret=0 ;;