arangodb-helper / arangodb

ArangoDB Starter - starts ArangoDB clusters & single servers with ease.
Apache License 2.0
74 stars 16 forks source link

Improve warning "Flag --all.xxx has been deprecated, Deprecated" #338

Closed jsteemann closed 1 year ago

jsteemann commented 1 year ago

I used a recent version of the starter (from 3.10.0 packages) to start a single server with the following command:

arangodb --starter.mode single --starter.data-dir myDir  --all.temp.intermediate-results-path "temp" --all.use-splice-syscall false  

Starting the arangod server instance worked, but the first 2 lines of output were:

Flag --all.temp.intermediate-results-path has been deprecated, Deprecated
Flag --all.use-splice-syscall has been deprecated, Deprecated

These message comes from ./vendor/github.com/spf13/pflag/flag.go.

Unfortunately the messages are not very helpful for end users. Can they be improved somehow? I guess the intention is to tell the end user to not use --all.*, but something else. But it is unclear what exactly.

nikita-vanyasin commented 1 year ago

^ will be fixed in next release