Library for handling --long options