Replace rdoc with optparse since rdoc is depreciated