This commit is contained in:
Shohei YOSHIDA 2025-12-13 17:44:13 +09:00 committed by GitHub
commit 22b6121fb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 25 deletions

View File

@ -28,7 +28,7 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for resilio sync 2.7.3 (https://www.resilio.com/individuals/). # Completion script for resilio sync 3.1.2 (https://www.resilio.com/individuals/).
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
@ -38,30 +38,21 @@
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
_rslsync(){ _arguments \
integer ret=1 '(- *)--help[Print help]' \
local -a args '--config[Use a configuration file]:file:_files' \
args+=( '--storage[Storage path for identity and license]:path:_files -/' \
'(- *)--help[Print help]' '--identity[Creates user identity]:name' \
'--config[Use a configuration file]:file:_files' '--license[Apply owner license]:file:_files' \
'--storage[Storage path for identity and license]:path:_files -/' '--decrypt[Decrypt encrypted folder]:secret_dbpath_encrypted_folder_output_folder' \
'--identity[Creates user identity]:name:' '--upgradedb[Upgrade databases in specified storage or upgrade a single db]:db:_files' \
'--license[Apply owner license]:file:_files' '--nodaemon[Do not daemonize]' \
'--decrypt[Decrypt encrypted folder]:' '--dump-sample-config[Print a sample configuration file]' \
'--upgradedb[Upgrade databases in specified storage or upgrade a single db]:db:_files' '--log[Set log file]:file:_files' \
'--nodaemon[Do not daemonize]' '(--help)--webui.listen[Set the webui listening interface]:ip_port:' \
'--dump-sample-config[Print a sample configuration file]' '--generate-secret[Generate a read/write key]::version:(2)' \
'--log[Set log file]:file:_files' '--get-ro-secret[Get the read-only key associated to a read/write key]:key' \
'(--help)--webui.listen[Set the webui listening interface]:ip\:port:' '--server[Set Management Console address]:ip_port'
'--generate-secret[Generate a read/write key]::version:(2)'
'--get-ro-secret[Get the read-only key associated to a read/write key]:key:'
'--server[Set Management Console address]:ip\:port:'
)
_arguments $args[@] && ret=0
return ret
}
_rslsync
# Local Variables: # Local Variables:
# mode: Shell-Script # mode: Shell-Script