summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/cli/bind.py
diff options
context:
space:
mode:
authormormj <34754695+mormj@users.noreply.github.com>2021-10-22 16:37:09 -0400
committerGitHub <noreply@github.com>2021-10-22 16:37:09 -0400
commitc4f99a8842490d37010ec20cddc63f7cfdc69b6c (patch)
tree053464d10995fdcf869803ca3dd9524a1fcc6946 /gr-utils/modtool/cli/bind.py
parent375b9573c6185f2713a211a087dfbabedeb50c05 (diff)
modtool: ability to fix the hash using modtool
* modtool: bind --update-hash-only command Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'gr-utils/modtool/cli/bind.py')
-rw-r--r--gr-utils/modtool/cli/bind.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-utils/modtool/cli/bind.py b/gr-utils/modtool/cli/bind.py
index 2ffeb36460..9ff401dc6d 100644
--- a/gr-utils/modtool/cli/bind.py
+++ b/gr-utils/modtool/cli/bind.py
@@ -32,6 +32,9 @@ from .base import common_params, block_name, run, cli_input
help = 'Comma separated list of additional include directories (default None)')
@click.option('-D', '--define_symbols', multiple=True, default=None,
help = 'Set precompiler defines')
+@click.option('-u', '--update-hash-only', is_flag = True,
+ help = 'If given, only the hash in the binding will be updated')
+
@common_params
@block_name
def cli(**kwargs):