From 66b46aa1706e0316a7e93dbb7062e37e26f60ca7 Mon Sep 17 00:00:00 2001
From: Marcus Müller <mmueller@gnuradio.org>
Date: Sat, 28 Sep 2019 20:31:39 +0200
Subject: modtool: allow empty arg list in interactive mode

---
 gr-utils/python/modtool/cli/add.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'gr-utils/python')

diff --git a/gr-utils/python/modtool/cli/add.py b/gr-utils/python/modtool/cli/add.py
index 51a63ffc60..694d49f5fe 100644
--- a/gr-utils/python/modtool/cli/add.py
+++ b/gr-utils/python/modtool/cli/add.py
@@ -127,7 +127,13 @@ def get_copyrightholder(self):
 def get_arglist(self):
     """ Get the argument list of the block to be added """
     if self.info['arglist'] is not None:
-        self.info['arglist'] = click.prompt(click.style('Enter valid argument list, including default arguments: \n', fg='cyan'), prompt_suffix='')
+        self.info['arglist'] = click.prompt(click.style(
+            'Enter valid argument list, including default arguments: \n',
+            fg='cyan'),
+                                            prompt_suffix='',
+                                            default='',
+                                            show_default=False)
+
 
 def get_py_qa(self):
     """ Get a boolean value for addition of py_qa """
-- 
cgit v1.2.3