Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] Getopt question

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-dev] Getopt question
  • Date: Tue, 10 Apr 2001 18:06:38 +0200

"Jérôme Marant" wrote:

> The code for getting options from the command line is:
>
> &GetOptions(\%main::options, 'dump|s:s', 'debug|d', 'foreground',
>
> I'm wondering is the Getopt configuration for 'dump' is right since
> the Getopt::Long manpage tells :
>
> : type [ desttype ]
> Like `=', but designates the argument as optional.

You're right, the parameter for 'dump' should not be optional.
I change it to compulsory.

--
Olivier Salaün
Comité Réseaux des Universités


  • Getopt question, Jérôme Marant, 04/10/2001
    • Re: [sympa-dev] Getopt question, Olivier Salaun, 04/10/2001

Archive powered by MHonArc 2.6.19+.

Top of Page