Update getopts library usage