Fix the error message when no option in a _SINGLE is used.
PR: 217273 Reported by: Andreas Sommer Sponsored by: Absolight
This commit is contained in:
parent
27cab1b67b
commit
e8f90a3da6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434539
@ -4694,7 +4694,11 @@ _check-config: pre-check-config
|
||||
.endfor
|
||||
.for single in ${OPTIONS_WRONG_SINGLE}
|
||||
@${ECHO_MSG} "====> You must select one and only one option from the ${single} single"
|
||||
.if defined(OPTIONS_WRONG_SINGLE_${single})
|
||||
@${ECHO_MSG} "=====> Only one of these must be defined: ${OPTIONS_WRONG_SINGLE_${single}}"
|
||||
.else
|
||||
@${ECHO_MSG} "=====> No option was selected (and one must be)"
|
||||
.endif
|
||||
.endfor
|
||||
.for radio in ${OPTIONS_WRONG_RADIO}
|
||||
@${ECHO_MSG} "====> You cannot select multiple options from the ${radio} radio"
|
||||
|
Loading…
Reference in New Issue
Block a user