Added name-match and latest-only option

Should fix issues #129, #139 and #158
wrong indentation.

and IMO, this should use ``VALUE_REQUIRED``. It does not make sense to pass the option without a value