rename fdroid server to fdroid deploy and deprecate 'init'

`fdroid server init` is has not been needed for a long time.  And 'server'
is the only subcommand that has its own subsubcommands.  This turns it into
only `fdroid deploy`, which does what `fdroid server update` does. This
also changes the bash completion to use `fdroid deploy`.  But the old
`fdroid server update` and `fdroid server init` commands remain working.

closes #264
This commit is contained in:
Hans-Christoph Steiner 2018-02-13 12:54:48 +01:00
parent bffa6a73be
commit 1725e09f7e
2 changed files with 10 additions and 4 deletions

View file

@ -282,10 +282,10 @@ __complete_stats() {
__complete_options
}
__complete_server() {
__complete_deploy() {
opts="-i -v -q"
lopts="--identity-file --local-copy-dir --sync-from-local-copy-dir
--verbose --quiet --no-checksum update"
--verbose --quiet --no-checksum"
__complete_options
}
@ -316,6 +316,7 @@ __cmds=" \
btlog \
build \
checkupdates \
deploy \
dscanner \
gpgsign \
import \
@ -328,7 +329,6 @@ publish \
readmeta \
rewritemeta \
scanner \
server \
signatures \
signindex \
stats \