On 12/15/12 03:37, Manuel H wrote:
> Hello Bruce!
> 
> Thanks for your kind answer and the tip which C-file to edit.

You're welcome.

> Unfortunately i'm not very comfortable with C at the time of writing

OK, I spent a couple of hours at it this weekend.  (Expected 1, took 2.)
Please give http://autogen.sourceforge.net/data/autogen-5.17.0pre11.tar.xz
a spin.  It validates the min/max occurrences.  "must-set", by the way,
is intended to ensure that a setting (option) has been set either on
the command line or in a config file, whereas "min = 1" says it has to
be on the command line.  Shell scripts should not be making such a
distinction, so I think you want "min = 1" in your def file.  In any
event, for a shell script, "must-set" now implies a min of 1 when
min is unspecified or even specified as 0 (zero).

> So my idea is to create a AutoGen template for AutoOpts, which allows
> the creation of shell-scripts (i will create the necessary template(s)).
> What do you think? Could such a template become part of AutoOpts?

I still think this is the best solution, but someone other than me
will have to have the time to do it (a few 10's of hours).

Cheers - Bruce

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to