Skip to content
Snippets Groups Projects
Unverified Commit 30c9609c authored by Greg Becker's avatar Greg Becker Committed by Todd Gamblin
Browse files

Documentation: Database.query methods share docstrings (#13515)

Currently, query arguments in the Spack core are documented on the
Database._query method, where the functionality is defined.

For users of the spack python command, this makes the python builtin
method help less than ideally useful, as help(spack.store.db.query)
and help(spack.store.db.query_local) do not show relevant information.

This PR updates the doc attributes for the Database.query and
Database.query_local arguments to mirror everything after the first
line of the Database._query docstring.
parent 944d7b3d
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment