From 5eb0dc3117230e27c7f39eee40863c2df2453f53 Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Mon, 11 Dec 2023 09:40:21 -0700 Subject: [PATCH] Minor fix to docstring in MWPath. --- python/lsst/daf/butler/cli/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lsst/daf/butler/cli/utils.py b/python/lsst/daf/butler/cli/utils.py index 5b273b92f0..9513395780 100644 --- a/python/lsst/daf/butler/cli/utils.py +++ b/python/lsst/daf/butler/cli/utils.py @@ -593,7 +593,7 @@ def __call__(self, f: Any) -> click.Option: class MWPath(click.Path): """Overrides click.Path to implement file-does-not-exist checking. - Changes the definition of ``exists` so that `True` indicates the location + Changes the definition of ``exists`` so that `True` indicates the location (file or directory) must exist, `False` indicates the location must *not* exist, and `None` indicates that the file may exist or not. The standard definition for the `click.Path` ``exists`` parameter is that for `True` a