Have you looked at getopt_long, which is in the standard FreeBSD C libraries? man 3 getopt_long The use of getopt() in most utilities instead of getopt_long() is a very deliberate choice. Tim Kientzle Andrea Di Pasquale wrote: > Hi! I seen that all freebsd' s programs use getopt() or sequence > options with arguments. > I wanna to propose new options handler that handle name or alias for > options and > option's argument, example no argument, required one or two arguments, > required > argument with 2° option argument and one or two optional arguments. > Can it useful for freebsd? > > Regards, > Andrea_______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" > > >Received on Tue Nov 25 2008 - 16:29:52 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC