Options handler for userspace programs
Tim Kientzle
kientzle at freebsd.org
Tue Nov 25 09:29:52 PST 2008
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"
>
>
>
More information about the freebsd-current
mailing list