Use string_to_number.  Don't check for no optarg: we set has_arg to 1 in option array, so getopt does that for us.
1 file changed