Re: mailgw argument parsing
Ralf Schlatterbeck <[email protected]> Tue, 22 Nov 2022 20:18:18 +0100
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Nov 22, 2022 at 01:34:08PM -0500, John P. Rouillard wrote: > > Also because there are still distributions that package Roundup, not > everybody reads the upgrading doc as well as they should. > > So I would like to keep the -C to set the default class for -S. So if > the -S argument doesn't have a "class." prefix, it uses the class set > by -C. This is not possible for the following reason: - A single -C can be followed by multiple -S options (we test for this!) - There can be multiple -C options - With optparse we cannot know which -C belows to which -S options Therefore I would prefer to make -C an illegal option. Better fail early than make a mess of incoming emails. Ralf -- Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: www.runtux.com Reichergasse 131, A-3411 Weidling email: [email protected]