diff --git a/contrib/completions/complete.bash b/contrib/completions/complete.bash index 7009be96..90052a1f 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 -d --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 --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 00312b50..49f99bb4 100644 --- a/contrib/completions/complete.zsh +++ b/contrib/completions/complete.zsh @@ -15,7 +15,7 @@ all_opts=( '--disable-notifications[Do not use desktop notifications in monitor mode.]' '--display-config[Display what options the client will use as currently configured - no sync will be performed.]' '--display-sync-status[Display the sync status of the client - no sync will be performed.]' - '(-d --download-only)'{-d,--download-only}'[Only download remote changes]' + '--download-only[Only download remote changes]' '--disable-upload-validation[Disable upload validation when uploading to OneDrive]' '--dry-run[Perform a trial sync with no changes made]' '--enable-logging[Enable client activity to a separate log file]' diff --git a/docs/USAGE.md b/docs/USAGE.md index 97ff248c..218698d1 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -485,7 +485,7 @@ Options: Display what options the client will use as currently configured - no sync will be performed. --display-sync-status Display the sync status of the client - no sync will be performed. - --download-only -d + --download-only Only download remote changes --dry-run Perform a trial sync with no changes made diff --git a/onedrive.1.in b/onedrive.1.in index 69dda6c8..919d1e17 100644 --- a/onedrive.1.in +++ b/onedrive.1.in @@ -63,7 +63,7 @@ Display what options the client will use as currently configured \- no sync will \fB\-\-display\-sync\-status\fP Display the sync status of the client \- no sync will be performed. .TP -\fB\-d \-\-download\-only\fP +\fB\-\-download\-only\fP Only download remote changes .br Configuration file key: \fBdownload_only\fP (default: \fBfalse\fP) diff --git a/src/config.d b/src/config.d index 61d9f9cf..1b0ea254 100644 --- a/src/config.d +++ b/src/config.d @@ -201,7 +201,7 @@ final class Config "display-sync-status", "Display the sync status of the client - no sync will be performed.", &boolValues["display_sync_status"], - "download-only|d", + "download-only", "Only download remote changes", &boolValues["download_only"], "dry-run",