summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/cli/update.py
diff options
context:
space:
mode:
authorNicolas Cuervo <cuervonicolas@gmail.com>2019-11-14 21:51:43 +0100
committerMartin Braun <martin.braun@ettus.com>2020-01-02 14:26:42 -0800
commita1d8932e3ce36227cb1dc3d41fda189c2d315961 (patch)
tree3505d4a5724466a1cd3d54644d1865639ed64333 /gr-utils/python/modtool/cli/update.py
parent85239e9f9d44748e1da48c1838be0c7c4beff9e7 (diff)
Modtool: Update - Add option to convert blacklisted files
Also avoid the misleading behavior that implies conversion when it isn't happening while also deleting the XML with a blacklisted name.
Diffstat (limited to 'gr-utils/python/modtool/cli/update.py')
-rw-r--r--gr-utils/python/modtool/cli/update.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-utils/python/modtool/cli/update.py b/gr-utils/python/modtool/cli/update.py
index 509e9daa20..7045750751 100644
--- a/gr-utils/python/modtool/cli/update.py
+++ b/gr-utils/python/modtool/cli/update.py
@@ -34,6 +34,8 @@ from .base import block_name, run, cli_input, ModToolException
@click.command('update', short_help=ModToolUpdate.description)
@click.option('--complete', is_flag=True, default=None,
help="Convert all the XML bindings to YAML.")
+@click.option('-I', '--include-blacklisted', is_flag=True, default=None,
+ help="Include XML files with blacklisted names in the conversion process")
@block_name
def cli(**kwargs):
""" Update the XML bindings to YAML bindings """