Added writeInto method to CmdOptions.