[ mailman-Bugs-671303 ] bin/arch --start and --end argument handling

SourceForge.net noreply at sourceforge.net
Sun Apr 6 17:23:47 EDT 2003


Bugs item #671303, was opened at 2003-01-20 13:52
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=671303&group_id=103

Category: Pipermail
Group: 2.1 (stable)
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Bryan Fullerton (fehwalker)
Assigned to: Nobody/Anonymous (nobody)
Summary: bin/arch --start and --end argument handling

Initial Comment:
bin/arch says (among other things):

    -s N                                                                        
    --start=N                                                                   
        Start indexing at article N, where article 0 is the first in the mbox.  
        Defaults to 0.                                                          
                                                                                
    -e M                                                                        
    --end=M                                                                     
        End indexing at article M.  This script is not very efficient with      
        respect to memory management, and for large archives, it may not be     
        possible to index the mbox entirely.  For that reason, you can specify  
        the start and end article numbers.

However, using --end=[some #] or --start=[some #] results in these errors:

% bin/arch --wipe --end=25000 test
[...]
option --end must not have an argument
% bin/arch --wipe --start=25001 test
[...]
option --start must not have an argument

Using --end [some #] or --start [some #] (ie with no =) works fine.

So either the help output of bin/arch needs to be amended to remove the ='s, or the argument handling needs to be tweaked to understand ='s. I'm unsure which is preferable.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=671303&group_id=103



More information about the Mailman-coders mailing list