From 13012f9c0c4e338a8a8b9cb3369479339be11c9b Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 4 Jun 2020 05:49:20 +0300 Subject: [PATCH] plots: completion/spelling fixups (#3952) * completion: don't forget --show-vega Fixes #3890 * plots: VEGA -> Vega --- dvc/command/plots.py | 2 +- scripts/completion/dvc.bash | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dvc/command/plots.py b/dvc/command/plots.py index 3edbde2cd..e4d007f60 100644 --- a/dvc/command/plots.py +++ b/dvc/command/plots.py @@ -209,5 +209,5 @@ def _add_output_arguments(parser): "--show-vega", action="store_true", default=False, - help="Show output in VEGA format.", + help="Show output in Vega format.", ) diff --git a/scripts/completion/dvc.bash b/scripts/completion/dvc.bash index a24ea85a5..92bfe52b5 100644 --- a/scripts/completion/dvc.bash +++ b/scripts/completion/dvc.bash @@ -47,8 +47,8 @@ _dvc_move_COMPGEN=_dvc_compgen_files _dvc_params='diff' _dvc_params_diff='--all --show-json --show-md --no-path' _dvc_plots='show diff' -_dvc_plots_show='-t --template -o --out -x -y --show-json --no-csv-header --title --x-label --y-label' -_dvc_plots_diff='-t --template --targets -o --out -x -y --show-json --no-csv-header --title --x-label --y-label' +_dvc_plots_show='-t --template -o --out -x -y --show-vega --no-csv-header --title --x-label --y-label' +_dvc_plots_diff='-t --template --targets -o --out -x -y --show-vega --no-csv-header --title --x-label --y-label' _dvc_plots_modify='-t --template -x -y --no-csv-header --title --x-label --y-label' _dvc_pull='-j --jobs -r --remote -a --all-branches -T --all-tags -f --force -d --with-deps -R --recursive' _dvc_pull_COMPGEN=_dvc_compgen_DVCFiles