Changeset 3165 for pykota/trunk/bin
- Timestamp:
- 04/16/07 18:52:23 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/dumpykota
r3133 r3165 78 78 WARNING : existing files are truncated ! 79 79 80 -O | --orderby exp Change the ordering or result. 'exp' is a comma 81 separated list of ordering statements, for example 82 '--orderby +username,-printername'. Not all expression 83 values are meaningful, so using this command line 84 switch is not recommanded if you don't know the 85 exact layout of PyKota's database schema. 86 80 87 -s | --sum Summarize the selected datas. 81 88 ONLY AVAILABLE WITH --data history or payments … … 150 157 "output" : "-", \ 151 158 } 152 short_options = "vhd:f:o:s "153 long_options = ["help", "version", "data=", "format=", "output=", "sum" ]159 short_options = "vhd:f:o:sO:" 160 long_options = ["help", "version", "data=", "format=", "output=", "sum", "orderby="] 154 161 155 162 # Initializes the command line tool … … 167 174 options["output"] = options["o"] or options["output"] or defaults["output"] 168 175 options["sum"] = options["s"] or options["sum"] 176 options["orderby"] = options["O"] or options["orderby"] 169 177 170 178 if options["help"] :