a draft of --defaults option handling