From 78edc0d00f9371157e9cc78f7656ea3c37f2a7b8 Mon Sep 17 00:00:00 2001 From: Andrey Kurilin Date: Thu, 31 Dec 2015 12:37:49 +0200 Subject: [PATCH] [Docs] improve cli docs * add docstring for `rally-manage db recreate`. * updates `deprecated_args` to handle release and alternative arg. * rename `--verification` and `task` to `--uuid` in `rally verify use` and `rally task use`.(these arguments should have the same name across one category). The old names are deprecated. * rename destination of `--uuid`, `--uuid-1`, `uuid-2` arguments to `verification`, `verification1`, `verification2` for consistent with other destinations. * remove `required=False` attribute setting for task_id in `rally task use`. * fix attribute name in `default_from_global` for `report` Change-Id: Ib2edb32443f59f8168ff124bddb77950881dcd5e --- etc/rally.bash_completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rally.bash_completion b/etc/rally.bash_completion index f63ff9a4..5ee9ecef 100644 --- a/etc/rally.bash_completion +++ b/etc/rally.bash_completion @@ -44,7 +44,7 @@ _rally() OPTS["task_sla_check"]="--uuid --json" OPTS["task_start"]="--deployment --task --task-args --task-args-file --tag --no-use --abort-on-sla-failure" OPTS["task_status"]="--uuid" - OPTS["task_use"]="--task" + OPTS["task_use"]="--uuid" OPTS["task_validate"]="--deployment --task --task-args --task-args-file" OPTS["verify_compare"]="--uuid-1 --uuid-2 --csv --html --json --output-file --threshold" OPTS["verify_detailed"]="--uuid --sort-by" @@ -58,7 +58,7 @@ _rally() OPTS["verify_showconfig"]="--deployment" OPTS["verify_start"]="--deployment --set --regex --tests-file --tempest-config --xfails-file --no-use --system-wide --concurrency" OPTS["verify_uninstall"]="--deployment" - OPTS["verify_use"]="--verification" + OPTS["verify_use"]="--uuid" for OPT in ${!OPTS[*]} ; do CMD=${OPT%%_*}