diff options
Diffstat (limited to 'gr-digital/examples/uhd_interface.py')
-rw-r--r-- | gr-digital/examples/uhd_interface.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-digital/examples/uhd_interface.py b/gr-digital/examples/uhd_interface.py index 3e2162ba3..a01648715 100644 --- a/gr-digital/examples/uhd_interface.py +++ b/gr-digital/examples/uhd_interface.py @@ -197,7 +197,8 @@ class uhd_receiver(uhd_interface, gr.hier_block2): metavar="FREQ") parser.add_option("", "--rx-gain", type="eng_float", default=None, help="set receive gain in dB (default is midpoint)") - parser.add_option("-v", "--verbose", action="store_true", default=False) + if not parser.has_option("--verbose"): + parser.add_option("-v", "--verbose", action="store_true", default=False) # Make a static method to call before instantiation add_options = staticmethod(add_options) |