From 3ea90300a7849c83f540304cd780a187b702b635 Mon Sep 17 00:00:00 2001 From: Juho Inkinen <34240031+juhoinkinen@users.noreply.github.com> Date: Tue, 22 Aug 2023 13:10:11 +0300 Subject: [PATCH] Rename function to follow convention --- annif/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annif/cli.py b/annif/cli.py index ebed088ba..73f18f02e 100644 --- a/annif/cli.py +++ b/annif/cli.py @@ -587,7 +587,7 @@ def run_hyperopt(project_id, paths, docs_limit, trials, jobs, metric, results_fi @click.option("--bash", "shell", flag_value="bash") @click.option("--zsh", "shell", flag_value="zsh") @click.option("--fish", "shell", flag_value="fish") -def completion(shell): +def run_completion(shell): """Generate the script for tab-key autocompletion for the given shell. To enable the completion support in your current bash terminal session run\n source <(annif completion --bash)