Recognize --cleared-format option

Bug fix for #747