addArgumentHelp¶
-
lsst.daf.butler.cli.utils.
addArgumentHelp
(doc, helpText)¶ Add a Click argument’s help message to a function’s documentation.
This is needed because click presents arguments in the order the argument decorators are applied to a function, top down. But, the evaluation of the decorators happens bottom up, so if arguments just append their help to the function’s docstring, the argument descriptions appear in reverse order from the order they are applied in.
Parameters: Returns: - doc :
str
Updated function documentation.
- doc :