From 601a3630e725b128285fb972e8a0b4faea5ce7db Mon Sep 17 00:00:00 2001 From: Vince Giroux Date: Fri, 14 Feb 2020 00:01:32 -0500 Subject: [PATCH] Update completions to include the --force-http-2 option (#799) * Update completions to include the --force-http-2 option (@vigiroux) --- contrib/completions/complete.bash | 2 +- contrib/completions/complete.zsh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/completions/complete.bash b/contrib/completions/complete.bash index 90052a1f..aa09f3e5 100644 --- a/contrib/completions/complete.bash +++ b/contrib/completions/complete.bash @@ -12,7 +12,7 @@ _onedrive() cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} - options='--check-for-nomount --check-for-nosync --debug-https --disable-notifications --display-config --display-sync-status --download-only --disable-upload-validation --dry-run --enable-logging --force-http-1.1 --local-first --logout -m --monitor --no-remote-delete --print-token --resync --skip-dot-files --skip-symlinks --synchronize --upload-only -v --verbose --version -h --help' + options='--check-for-nomount --check-for-nosync --debug-https --disable-notifications --display-config --display-sync-status --download-only --disable-upload-validation --dry-run --enable-logging --force-http-1.1 --force-http-2 --local-first --logout -m --monitor --no-remote-delete --print-token --resync --skip-dot-files --skip-symlinks --synchronize --upload-only -v --verbose --version -h --help' argopts='--create-directory --get-O365-drive-id --remove-directory --single-directory --source-directory' # Loop on the arguments to manage conflicting options diff --git a/contrib/completions/complete.zsh b/contrib/completions/complete.zsh index 49f99bb4..be8610ef 100644 --- a/contrib/completions/complete.zsh +++ b/contrib/completions/complete.zsh @@ -20,6 +20,7 @@ all_opts=( '--dry-run[Perform a trial sync with no changes made]' '--enable-logging[Enable client activity to a separate log file]' '--force-http-1.1[Force the use of HTTP 1.1 for all operations]' + '--force-http-2[Force the use of HTTP 2 for all operations]' '--get-O365-drive-id[Query and return the Office 365 Drive ID for a given Office 365 SharePoint Shared Library]:' '--local-first[Synchronize from the local directory source first, before downloading changes from OneDrive.]' '--logout[Logout the current user]'