include files or directories when appropriate
include files or directories when appropriate

include files when --config is last option
include directories when --dir is last option

dmcbane/curd,dmcbane/curd