Show
Ignore:
Timestamp:
06/08/05 06:22:27 (19 years ago)
Author:
jerome
Message:

Adds the --sum command line option to dumpykota (no code to handle it yet)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/dumpykota

    r2267 r2282  
    7676                       is the default value and means stdout. 
    7777                       WARNING : existing files are truncated ! 
    78                         
     78 
     79  -s | --sum           Summarize the selected datas. 
     80                           ONLY AVAILABLE WITH --data history or payments 
     81 
    7982  Use the filter expressions to extract only parts of the  
    8083  datas. Allowed filters are of the form : 
     
    142145                     "output" : "-", \ 
    143146                   } 
    144         short_options = "vhd:f:o:" 
    145         long_options = ["help", "version", "data=", "format=", "output="] 
     147        short_options = "vhd:f:o:s" 
     148        long_options = ["help", "version", "data=", "format=", "output=", "sum"] 
    146149         
    147150        # Initializes the command line tool 
     
    158161        options["format"] = options["f"] or options["format"] or defaults["format"] 
    159162        options["output"] = options["o"] or options["output"] or defaults["output"] 
     163        options["sum"] = options["s"] or options["sum"] 
    160164         
    161165        if options["help"] :