Merge pull request #916 from zsh-users/update-rslsync
Update rslsync completion
This commit is contained in:
commit
b0206148f1
33
src/_rslsync
33
src/_rslsync
|
@ -28,7 +28,7 @@
|
||||||
# Description
|
# Description
|
||||||
# -----------
|
# -----------
|
||||||
#
|
#
|
||||||
# Completion script for resilio sync (https://getsync.com/).
|
# Completion script for resilio sync 2.7.3 (https://www.resilio.com/individuals/).
|
||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Authors
|
# Authors
|
||||||
|
@ -42,20 +42,31 @@ _rslsync(){
|
||||||
integer ret=1
|
integer ret=1
|
||||||
local -a args
|
local -a args
|
||||||
args+=(
|
args+=(
|
||||||
'(-)--help[Print help]'
|
'(- *)--help[Print help]'
|
||||||
'(--help)--config[Use a configuration file]:file:_files'
|
'--config[Use a configuration file]:file:_files'
|
||||||
'(--help)--dump-sample-config[Print a sample configuration file]'
|
'--storage[Storage path for identity and license]:path:_files -/'
|
||||||
'(--help)--generate-secret[Generate a read/write key]::version:(2)'
|
'--identity[Creates user identity]:name:'
|
||||||
'(--help)--get-ro-secret[Get the read-only key associated to a read/write key]:key:'
|
'--license[Apply owner license]:file:_files'
|
||||||
'(--help)--identity[Creates user identity]:name:'
|
'--decrypt[Decrypt encrypted folder]:'
|
||||||
'(--help)--license[Apply owner license]:file:_files'
|
'--upgradedb[Upgrade databases in specified storage or upgrade a single db]:db:_files'
|
||||||
'(--help)--log[Set log file]:file:_files'
|
'--nodaemon[Do not daemonize]'
|
||||||
'(--help)--nodaemon[Do not daemonize]'
|
'--dump-sample-config[Print a sample configuration file]'
|
||||||
'(--help)--storage[Storage path for identity and license]:path:_files -/'
|
'--log[Set log file]:file:_files'
|
||||||
'(--help)--webui.listen[Set the webui listening interface]:ip\:port:'
|
'(--help)--webui.listen[Set the webui listening interface]: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
|
_arguments $args[@] && ret=0
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
_rslsync
|
_rslsync
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|
Loading…
Reference in New Issue