Hi, 

Since release 2.17, there is a "required"/"optional" option that specifies
whether defining option must be given or not. 

The current implementation is that if the option is not specified, e.g.,

 option          "long-opt"  - "A long option"  long argoptional

then the defining option is considered as mandatory, shown with 
"--show-required" with release 2.19:

      --long-opt[=LONG]    A long option (mandatory)

I just hope that in such case (when no "required"/"optional" is defined),
the defining option is considered optional by default, instead of mandatory. 

thanks

tong

PS, my gengetopt:

$ gengetopt --ver
GNU gengetopt 2.19.1

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sf.net/techdocs/
  http://xpt.sf.net/tools/



_______________________________________________
Help-gengetopt mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-gengetopt

Reply via email to