cli: fix client bond option count

Looks more like 5, not 7, unless a particular mode is selected:

There are 7 optional arguments for 'bond' connection type.
Do you want to provide them? (yes/no) [yes]
Bonding mode [balance-rr]:
Bonding monitoring mode (miimon/arp) [miimon]:
Bonding miimon [100]:
Bonding downdelay [0]:
Bonding updelay [0]:
This commit is contained in:
Lubomir Rintel 2015-01-13 19:26:56 +01:00
parent 07be0f511d
commit 1bc942b142

View file

@ -3501,7 +3501,7 @@ do_questionnaire_bond (char **mode, char **primary, char **miimon,
GError *error = NULL;
/* Ask for optional 'bond' arguments. */
if (!want_provide_opt_args (_("bond"), 7))
if (!want_provide_opt_args (_("bond"), 5))
return;
if (!*mode) {