diff options
author | Thalian <github@fantasya-pbem.de> | 2020-03-18 21:39:48 +0100 |
---|---|---|
committer | Thalian <github@fantasya-pbem.de> | 2020-03-25 06:35:15 +0100 |
commit | 08a7661e673dcf1e3a0942d6fef905abeb989ccd (patch) | |
tree | c2c2bf7894fb01956edf627be1ae40c94e56af1c /scripts | |
parent | e388fabd5b31ee38df9068cdc983f22b5a569913 (diff) |
[FEATURE] #4489 – Deprecate --nobsdflags option
Replaced by --noflags. In internal data structure the key 'bsdflags' is kept for backwards compatibility.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/shell_completions/bash/borg | 4 | ||||
-rw-r--r-- | scripts/shell_completions/fish/borg.fish | 2 | ||||
-rw-r--r-- | scripts/shell_completions/zsh/_borg | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/scripts/shell_completions/bash/borg b/scripts/shell_completions/bash/borg index e650dcb37..4733be049 100644 --- a/scripts/shell_completions/bash/borg +++ b/scripts/shell_completions/bash/borg @@ -75,10 +75,10 @@ _borg() local opts="-e --encryption --append-only --storage-quota --make-parent-dirs ${common_opts}" ;; *' create '*) - local opts="-n --dry-run -s --stats --list --filter --json --no-cache-sync --stdin-name -e --exclude --exclude-from --pattern --patterns-from --exclude-caches --exclude-if-present --keep-exclude-tags --exclude-nodump -x --one-file-system --numeric-owner --noatime --noctime --nobirthtime --nobsdflags --files-cache --read-special --comment --timestamp -c --checkpoint-interval --chunker-params -C --compression ${common_opts}" + local opts="-n --dry-run -s --stats --list --filter --json --no-cache-sync --stdin-name -e --exclude --exclude-from --pattern --patterns-from --exclude-caches --exclude-if-present --keep-exclude-tags --exclude-nodump -x --one-file-system --numeric-owner --noatime --noctime --nobirthtime --nobsdflags --noflags --files-cache --read-special --comment --timestamp -c --checkpoint-interval --chunker-params -C --compression ${common_opts}" ;; *' extract '*) - local opts="--list -n --dry-run --numeric-owner --nobsdflags --stdout --sparse -e --exclude --exclude-from --pattern --patterns-from --strip-components ${common_opts}" + local opts="--list -n --dry-run --numeric-owner --nobsdflags --noflags --stdout --sparse -e --exclude --exclude-from --pattern --patterns-from --strip-components ${common_opts}" ;; *' check '*) local opts="--repository-only --archives-only --verify-data --repair --save-space --max-duration -P --prefix -a --glob-archives --sort-by --first --last ${common_opts}" diff --git a/scripts/shell_completions/fish/borg.fish b/scripts/shell_completions/fish/borg.fish index 42ae4d49f..eef5bc573 100644 --- a/scripts/shell_completions/fish/borg.fish +++ b/scripts/shell_completions/fish/borg.fish @@ -117,6 +117,7 @@ complete -c borg -f -l 'noatime' -d 'Do not store atime' complete -c borg -f -l 'noctime' -d 'Do not store ctime' -n "__fish_seen_subcommand_from create" complete -c borg -f -l 'nobirthtime' -d 'Do not store creation date' -n "__fish_seen_subcommand_from create" complete -c borg -f -l 'nobsdflags' -d 'Do not store bsdflags' -n "__fish_seen_subcommand_from create" +complete -c borg -f -l 'noflags' -d 'Do not store flags' -n "__fish_seen_subcommand_from create" set -l files_cache_mode "ctime,size,inode mtime,size,inode ctime,size mtime,size rechunk,ctime rechunk,mtime disabled" complete -c borg -f -l 'files-cache' -d 'Operate files cache in MODE' -a "$files_cache_mode" -n "__fish_seen_subcommand_from create" complete -c borg -f -l 'read-special' -d 'Open device files like regular files' -n "__fish_seen_subcommand_from create" @@ -134,6 +135,7 @@ complete -c borg -f -l 'list' -d 'Print verbose list of it complete -c borg -f -s n -l 'dry-run' -d 'Do not actually extract any files' -n "__fish_seen_subcommand_from extract" complete -c borg -f -l 'numeric-owner' -d 'Only obey numeric user:group identifiers' -n "__fish_seen_subcommand_from extract" complete -c borg -f -l 'nobsdflags' -d 'Do not extract/set bsdflags' -n "__fish_seen_subcommand_from extract" +complete -c borg -f -l 'noflags' -d 'Do not extract/set flags' -n "__fish_seen_subcommand_from extract" complete -c borg -f -l 'stdout' -d 'Write all extracted data to stdout' -n "__fish_seen_subcommand_from extract" complete -c borg -f -l 'sparse' -d 'Create holes in output sparse file' -n "__fish_seen_subcommand_from extract" # Exclusion options diff --git a/scripts/shell_completions/zsh/_borg b/scripts/shell_completions/zsh/_borg index 45ab0463a..fc9035a4a 100644 --- a/scripts/shell_completions/zsh/_borg +++ b/scripts/shell_completions/zsh/_borg @@ -101,6 +101,7 @@ _borg() { --noatime'[do not store atime into archive]'\ --nobirthtime'[do not store birthtime (creation date) into archive]'\ --nobsdflags'[do not read and store bsdflags (e.g. NODUMP, IMMUTABLE) into archive]'\ + --noflags'[do not read and store flags (e.g. NODUMP, IMMUTABLE) into archive]'\ --files-cache'[operate files cache in MODE. default: ctime,size,inode]:mode:(ctime,size,inode mtime,size,inode ctime,size mtime,size rechunk,ctime rechunk,mtime disabled)'\ --read-special'[open and read block and char device files as well as FIFOs as if they were regular files.]'\ --comment'[add a comment text to the archive]:COMMENT'\ @@ -119,6 +120,7 @@ _borg() { {-n,--dry-run}'[do not actually change any files]'\ --numeric-owner'[only obey numeric user and group identifiers]'\ --nobsdflags'[do not extract/set bsdflags (e.g. NODUMP, IMMUTABLE)]'\ + --noflags'[do not extract/set flags (e.g. NODUMP, IMMUTABLE)]'\ --stdout'[write all extracted data to stdout]'\ --sparse'[create holes in output sparse file from all-zero chunks]'\ {-e,--exclude}'[exclude paths matching PATTERN]:PATTERN'\ |