filter out print options and only use when not -cd