diff --git a/README.md b/README.md index 6721b78..6396db7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # pgBackRest Bash Completion -A script that adds bash completion for pgBackRest (https://pgbackrest.org/). +A script that adds bash completion for pgBackRest (https://pgbackrest.org). ## Usage diff --git a/pgbackrest-completion.sh b/pgbackrest-completion.sh index 3ee2850..fea1be2 100644 --- a/pgbackrest-completion.sh +++ b/pgbackrest-completion.sh @@ -185,6 +185,11 @@ _pgbackrest() { COMPREPLY=($(compgen -W "$(__pgbackrest_command_options_values)" -- ${cur})) return 0;; esac;; + --repo-storage-upload-chunk-size) + # Nothing to do. + # The documentation provides default values for different repo types. + # But there are no definite values for the parameter. + return 1;; *) if [[ ${prev} =~ ${arg_regex} ]]; then COMPREPLY=($(compgen -W "$(__pgbackrest_command_options_values)" -- ${cur})) @@ -236,6 +241,8 @@ _pgbackrest() { COMPREPLY=($(compgen -W "$(__pgbackrest_command_options_values)" -- ${cur})) return 0;; esac;; + --repo-storage-upload-chunk-size) + return 1;; *) if [[ ${prev} =~ ${arg_regex} ]]; then COMPREPLY=($(compgen -W "$(__pgbackrest_command_options_values)" -- ${cur}))