From 4a08b586b03917e5d24fc952545cc09fb5e5f03f Mon Sep 17 00:00:00 2001 From: Joseph Helfer Date: Tue, 21 Feb 2023 22:36:07 -0800 Subject: [PATCH] Add --get-file-link option to bash completion --- contrib/completions/complete.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/completions/complete.bash b/contrib/completions/complete.bash index 5373c3150..6bc247216 100644 --- a/contrib/completions/complete.bash +++ b/contrib/completions/complete.bash @@ -10,7 +10,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 --force-http-2 --local-first --logout -m --monitor --no-remote-delete --print-token --reauth --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 --get-file-link --local-first --logout -m --monitor --no-remote-delete --print-token --reauth --resync --skip-dot-files --skip-symlinks --synchronize --upload-only -v --verbose --version -h --help' argopts='--create-directory --get-O365-drive-id --operation-timeout --remove-directory --single-directory --source-directory' # Loop on the arguments to manage conflicting options @@ -25,7 +25,7 @@ _onedrive() _filedir return 0 ;; - --create-directory|--get-O365-drive-id|--operation-timeout|--remove-directory|--single-directory|--source-directory) + --create-directory|--get-file-link|--get-O365-drive-id|--operation-timeout|--remove-directory|--single-directory|--source-directory) return 0 ;; *)