Help/command/if: Document variable expansion by IN_LIST

Previously this behavior was only mentioned implicitly by the command
signature.  Describe it explicitly as we do for other conditions that
automatically expand variables.

Fixes: #26234
1 file changed