Commit af9c7f7f authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

Rename vulnerability command

parent dd69e7f3
......@@ -8,6 +8,6 @@ from bob.extension.scripts.click_helper import AliasedGroup
@with_plugins(pkg_resources.iter_entry_points('bob.vuln.cli'))
@click.group(cls=AliasedGroup)
def vuln():
def vulnerability():
"""Vulnerability analysis related commands."""
pass
......@@ -346,10 +346,10 @@ def hist(ctx, scores, evaluation, **kwargs):
Examples:
$ bob vuln vuln_hist -e -v licit/scores-dev licit/scores-eval \
$ bob vuln hist -e -v licit/scores-dev licit/scores-eval \
spoof/scores-dev spoof/scores-eval
$ bob vuln vuln_hist -e -v {licit,spoof}/scores-{dev,eval}
$ bob vuln hist -e -v {licit,spoof}/scores-{dev,eval}
'''
process = figure.HistVuln(ctx, scores, evaluation, load.split)
process.run()
......
......@@ -134,7 +134,7 @@ setup(
# main entry for bob pad cli
'bob.cli': [
'pad = bob.pad.base.script.pad:pad',
'vuln = bob.pad.base.script.vuln:vuln',
'vulnerability = bob.pad.base.script.vuln:vulnerability',
],
# bob pad scripts
......
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