cli: ask user before requiring optional parameters for 'nmcli -a con add type tun'
Fixes: 64c6b124d2
This commit is contained in:
@@ -4302,6 +4302,10 @@ do_questionnaire_tun (char **user, char **group,
|
|||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
gboolean b;
|
gboolean b;
|
||||||
|
|
||||||
|
/* Ask for optional 'tun' arguments. */
|
||||||
|
if (!want_provide_opt_args (_("Tun"), 5))
|
||||||
|
return;
|
||||||
|
|
||||||
if (!*user) {
|
if (!*user) {
|
||||||
do {
|
do {
|
||||||
*user = nmc_readline (_("User ID [none]: "));
|
*user = nmc_readline (_("User ID [none]: "));
|
||||||
|
Reference in New Issue
Block a user