1
0
Fork 0

Docs: Dump program options of arangobackup as well (#10055)

* Dump program options of arangobackup as well

* No special handling
This commit is contained in:
Simran 2019-09-27 14:11:25 +02:00 committed by KVS85
parent cf65562527
commit c7d6320898
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ fi
[ "$(uname -s)" = "Darwin" -a -x "${ARANGOSH}" ] && ARANGOSH="$(cd -P -- "$(dirname -- "${ARANGOSH}")" && pwd -P)/$(basename -- "${ARANGOSH}")" [ "$(uname -s)" = "Darwin" -a -x "${ARANGOSH}" ] && ARANGOSH="$(cd -P -- "$(dirname -- "${ARANGOSH}")" && pwd -P)/$(basename -- "${ARANGOSH}")"
if "${ARANGOSH}" --version | grep -q "^enterprise-version: enterprise$"; then if "${ARANGOSH}" --version | grep -q "^enterprise-version: enterprise$"; then
ALLPROGRAMS="arangobench arangod arangodump arangoexport arangoimport arangoinspect arangorestore arangosh" ALLPROGRAMS="arangobackup arangobench arangod arangodump arangoexport arangoimport arangoinspect arangorestore arangosh"
for HELPPROGRAM in ${ALLPROGRAMS}; do for HELPPROGRAM in ${ALLPROGRAMS}; do
echo "Dumping program options of ${HELPPROGRAM}" echo "Dumping program options of ${HELPPROGRAM}"
"${BIN_PATH}/${HELPPROGRAM}${EXT}" --dump-options > "Documentation/Examples/${HELPPROGRAM}.json" "${BIN_PATH}/${HELPPROGRAM}${EXT}" --dump-options > "Documentation/Examples/${HELPPROGRAM}.json"