The manpage of lsof is somewhat different for example, certain flags have '+' & '-' as prefix and the current implementation don't works well.
Need to come up with a logic to handle this. I was thinking if we can parse all available flags and store in the registry and then confirm each flag has an explanation before the program prints the output. Just a thought.