| 2156 | "pkinvoice v%(__version__)s (c) %(__years__)s %(__author__)s\n" |
| 2157 | "\n" |
| 2158 | "Un g�rateur de factures pour PyKota.\n" |
| 2159 | "\n" |
| 2160 | "ligne de commande :\n" |
| 2161 | "\n" |
| 2162 | " pkinvoice [options] utilisateur1 utilisateur2 ... utilisateurN\n" |
| 2163 | "\n" |
| 2164 | "options :\n" |
| 2165 | "\n" |
| 2166 | " -v | --version Affiche la version de pkinvoice et quitte.\n" |
| 2167 | " -h | --help Affiche ce message et quitte.\n" |
| 2168 | " \n" |
| 2169 | " -l | --logo img Utilise cette image comme logo sur la facture logo. " |
| 2170 | "The logo will\n" |
| 2171 | " be drawn at the center top of the page. The default\n" |
| 2172 | " logo is /usr/share/pykota/logos/pykota.jpeg\n" |
| 2173 | " \n" |
| 2174 | " -p | --pagesize sz Sets sz as the page size. Most well known\n" |
| 2175 | " page sizes are recognized, like 'A4' or 'Letter'\n" |
| 2176 | " to name a few. The default size is A4.\n" |
| 2177 | " \n" |
| 2178 | " -n | --number N Sets the number of the first invoice. This number\n" |
| 2179 | " will automatically be incremented for each invoice.\n" |
| 2180 | " \n" |
| 2181 | " -o | --output f.pdf Defines the name of the invoice file which will\n" |
| 2182 | " be generated as a PDF document. If not set or\n" |
| 2183 | " set to '-', the PDF document is sent to standard\n" |
| 2184 | " output. \n" |
| 2185 | " \n" |
| 2186 | " -u | --unit u Defines the name of the unit to use on the " |
| 2187 | "invoice. \n" |
| 2188 | " The default unit is 'Credits', optionally translated\n" |
| 2189 | " to your native language if it is supported by " |
| 2190 | "PyKota.\n" |
| 2191 | " \n" |
| 2192 | " -V | --vat p Sets the percent value of the applicable VAT to be\n" |
| 2193 | " exposed. The default is 0.0, meaning no VAT\n" |
| 2194 | " information will be included.\n" |
| 2195 | " \n" |
| 2196 | " -s | --start date Sets the starting date for the print jobs invoiced.\n" |
| 2197 | " \n" |
| 2198 | " -e | --end date Sets the ending date for the print jobs invoiced.\n" |
| 2199 | " \n" |
| 2200 | " user1 through userN can use wildcards if needed. If no user argument is\n" |
| 2201 | " used, a wildcard of '*' is assumed, meaning include all users.\n" |
| 2202 | " \n" |
| 2203 | " Dates formating with --start and --end :\n" |
| 2204 | " \n" |
| 2205 | " YYYY : year boundaries\n" |
| 2206 | " YYYYMM : month boundaries\n" |
| 2207 | " YYYYMMDD : day boundaries\n" |
| 2208 | " YYYYMMDDhh : hour boundaries\n" |
| 2209 | " YYYYMMDDhhmm : minute boundaries\n" |
| 2210 | " YYYYMMDDhhmmss : second boundaries\n" |
| 2211 | " yesterday[+-NbDays] : yesterday more or less N days (e.g. : yesterday-" |
| 2212 | "15)\n" |
| 2213 | " today[+-NbDays] : today more or less N days (e.g. : today-15)\n" |
| 2214 | " tomorrow[+-NbDays] : tomorrow more or less N days (e.g. : tomorrow-15)\n" |
| 2215 | " now[+-NbDays] : now more or less N days (e.g. now-15)\n" |
| 2216 | "\n" |
| 2217 | " 'now' and 'today' are not exactly the same since today represents the " |
| 2218 | "first\n" |
| 2219 | " or last second of the day depending on if it's used in a start= or end=\n" |
| 2220 | " date expression. The utility to be able to specify dates in the future is\n" |
| 2221 | " a question which remains to be answered :-)\n" |
| 2222 | " \n" |
| 2223 | "examples : \n" |
| 2224 | "\n" |
| 2225 | " $ pkinvoice --unit EURO --output invoices.pdf --start=now-30\n" |
| 2226 | " \n" |
| 2227 | " Will generate a PDF document containing invoices for all users\n" |
| 2228 | " who have spent some credits last month. Invoices will be done in\n" |
| 2229 | " EURO. No VAT information will be included.\n" |