Enable passing information when generating random options

Signed-off-by: Hao Liu <hliu@redhat.com>