Handle invalid command-line options
Added support for attributes tracking