From d8fd1ff21dd6e71d4539ad39bf6d17cda3552b02 Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Fri, 23 Jun 2023 16:58:09 -0700 Subject: [PATCH] Fix typo in docstring --- python/lsst/daf/butler/cli/butler.py | 2 +- python/lsst/daf/butler/cli/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/lsst/daf/butler/cli/butler.py b/python/lsst/daf/butler/cli/butler.py index 61d72a3754..c6a2b22868 100755 --- a/python/lsst/daf/butler/cli/butler.py +++ b/python/lsst/daf/butler/cli/butler.py @@ -126,7 +126,7 @@ def getLocalCommands(self) -> defaultdict[str, list[str]]: ) def list_commands(self, ctx: click.Context) -> list[str]: - """Gget all the commands that can be called by the + """Get all the commands that can be called by the butler command, it is used to generate the --help output. Used by Click. diff --git a/python/lsst/daf/butler/cli/utils.py b/python/lsst/daf/butler/cli/utils.py index 8be1094bd2..080b30a797 100644 --- a/python/lsst/daf/butler/cli/utils.py +++ b/python/lsst/daf/butler/cli/utils.py @@ -621,7 +621,7 @@ def make_metavar(self) -> str: """Make the metavar for the help menu. Overrides `click.Option.make_metavar`. - Adds a space and an elipsis after the metavar name if + Adds a space and an ellipsis after the metavar name if the option accepts multiple inputs, otherwise defers to the base implementation.