mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 11:30:15 +01:00
cli: ask user before requiring optional parameters for 'nmcli -a con add type tun'
Fixes: 64c6b124d2
This commit is contained in:
parent
6ffe4b61f7
commit
18b7a9a42f
1 changed files with 4 additions and 0 deletions
|
|
@ -4302,6 +4302,10 @@ do_questionnaire_tun (char **user, char **group,
|
|||
GError *error = NULL;
|
||||
gboolean b;
|
||||
|
||||
/* Ask for optional 'tun' arguments. */
|
||||
if (!want_provide_opt_args (_("Tun"), 5))
|
||||
return;
|
||||
|
||||
if (!*user) {
|
||||
do {
|
||||
*user = nmc_readline (_("User ID [none]: "));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue