Commit 490f6413 authored by Sean's avatar Sean
Browse files

Add docstring for CLI argument

parent 65bbad6a
...@@ -374,6 +374,11 @@ def library_search(query, sort_a0, sort_gbw, sort_delay, sort_vnoise, sort_vcorn ...@@ -374,6 +374,11 @@ def library_search(query, sort_a0, sort_gbw, sort_delay, sort_vnoise, sort_vcorn
@click.option("--save-figure", type=click.File("wb", lazy=False), multiple=True, @click.option("--save-figure", type=click.File("wb", lazy=False), multiple=True,
help="Save image of figure to file. Can be specified multiple times.") help="Save image of figure to file. Can be specified multiple times.")
def opamp_tools(models, show, plot, fstart, fstop, npoints, save_figure): def opamp_tools(models, show, plot, fstart, fstop, npoints, save_figure):
"""Op-amp tools."""
if not models:
click.echo("No op-amps specified.")
sys.exit(0)
opamps = [] opamps = []
for model in models: for model in models:
library_opamp = LIBRARY.get_opamp(model) library_opamp = LIBRARY.get_opamp(model)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment