Changeset 3360 for pykota/trunk/bin

Show
Ignore:
Timestamp:
03/29/08 15:51:03 (17 years ago)
Author:
jerome
Message:

Improved help.

Location:
pykota/trunk/bin
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/autopykota

    r3330 r3360  
    120120                            dest="initbalance", 
    121121                            default=0.0, 
    122                             help=_("Set the user's initial account balance value. If the user already exists, actual balance is left unchanged. If unset, the default value is %default")) 
     122                            help=_("Set the user's initial account balance value. If the user already exists, actual balance is left unchanged. If unset, the default value is %default.")) 
    123123    parser.add_option("-e", "--email", 
    124124                            dest="email", 
    125                             help=_("Set the user's email address")) 
     125                            help=_("Set the user's email address.")) 
    126126                             
    127127    parser.add_example('--email="@example.com" --initbalance=10.0', 
  • pykota/trunk/bin/pkbanner

    r3337 r3360  
    234234                            dest="logo", 
    235235                            default=u"/usr/share/pykota/logos/pykota.jpeg", 
    236                             help=_("The image to use as a logo. The logo will be drawn at the center top of the page. The default logo is %default")) 
     236                            help=_("The image to use as a logo. The logo will be drawn at the center top of the page. The default logo is %default.")) 
    237237    parser.add_option("-p", "--pagesize", 
    238238                            type="string", 
     
    241241                            dest="pagesize", 
    242242                            default=u"A4", 
    243                             help=_("Set the size of the page. Most well known page sizes are recognized, like 'A4' or 'Letter' to name a few. The default page size is %default")) 
     243                            help=_("Set the size of the page. Most well known page sizes are recognized, like 'A4' or 'Letter' to name a few. The default page size is %default.")) 
    244244    parser.add_option("-s", "--savetoner", 
    245245                            type="float", 
     
    252252                            dest="url", 
    253253                            default=u"http://www.pykota.com", 
    254                             help=_("Set the url to write at the bottom of the banner page. The default url is %default")) 
     254                            help=_("Set the url to write at the bottom of the banner page. The default url is %default.")) 
    255255    parser.add_example('--logo="" --savetoner=75', 
    256256                       _("This would generate a banner in the default page size, with no logo, and text luminosity would be increased by 75%.")) 
  • pykota/trunk/bin/pkinvoice

    r3346 r3360  
    274274                            dest="logo", 
    275275                            default=u"/usr/share/pykota/logos/pykota.jpeg", 
    276                             help=_("The image to use as a logo. The logo will be drawn at the center top of the page. The default logo is %default")) 
     276                            help=_("The image to use as a logo. The logo will be drawn at the center top of the page. The default logo is %default.")) 
    277277    parser.add_option("-p", "--pagesize", 
    278278                            type="string", 
     
    281281                            dest="pagesize", 
    282282                            default=u"A4", 
    283                             help=_("Set the size of the page. Most well known page sizes are recognized, like 'A4' or 'Letter' to name a few. The default page size is %default")) 
     283                            help=_("Set the size of the page. Most well known page sizes are recognized, like 'A4' or 'Letter' to name a few. The default page size is %default.")) 
    284284    parser.add_option("-n", "--number",                         
    285285                            dest="number", 
     
    288288                            callback=checkandset_positiveint, 
    289289                            default=1, 
    290                             help=_("Sets the number of the first invoice. This number will automatically be incremented for each invoice. The default value is %default")) 
     290                            help=_("Sets the number of the first invoice. This number will automatically be incremented for each invoice. The default value is %default.")) 
    291291    parser.add_option("-o", "--output", 
    292292                            dest="output", 
  • pykota/trunk/bin/pkrefund

    r3347 r3360  
    306306                            dest="logo", 
    307307                            default=u"/usr/share/pykota/logos/pykota.jpeg", 
    308                             help=_("The image to use as a logo. The logo will be drawn at the center top of the page. The default logo is %default")) 
     308                            help=_("The image to use as a logo. The logo will be drawn at the center top of the page. The default logo is %default.")) 
    309309    parser.add_option("-p", "--pagesize", 
    310310                            type="string", 
     
    313313                            dest="pagesize", 
    314314                            default=u"A4", 
    315                             help=_("Set the size of the page. Most well known page sizes are recognized, like 'A4' or 'Letter' to name a few. The default page size is %default")) 
     315                            help=_("Set the size of the page. Most well known page sizes are recognized, like 'A4' or 'Letter' to name a few. The default page size is %default.")) 
    316316    parser.add_option("-n", "--number",                         
    317317                            dest="number", 
     
    320320                            callback=checkandset_positiveint, 
    321321                            default=1, 
    322                             help=_("Sets the number of the first receipt. This number will automatically be incremented for each receipt. The default value is %default")) 
     322                            help=_("Sets the number of the first receipt. This number will automatically be incremented for each receipt. The default value is %default.")) 
    323323    parser.add_option("-o", "--output", 
    324324                            dest="output", 
  • pykota/trunk/bin/pykosd

    r3330 r3360  
    167167                            dest="font", 
    168168                            default=pyosd.default_font, 
    169                             help=_("Set the font to use. Defaults to %default")) 
     169                            help=_("Set the font to use. Defaults to %default.")) 
    170170    parser.add_option("-l", "--loop", 
    171171                            type="int", 
  • pykota/trunk/bin/pykotme

    r3358 r3360  
    117117 
    118118    parser.add_example("--printer apple file1.ps <file2.pclxl",                             
    119                        _("This would show the number of pages needed to print these two files, as well as the cost of printing them to the 'apple' printer.")) 
     119                       _("This would show the number of pages needed to print these two files, as well as the cost of printing them to the 'apple' printer for the user who launched this command.")) 
    120120    parser.add_example("--user john", 
    121121                       _("This would show the number of pages needed to print the content of the standard input, and the cost of printing this on all printers for user 'john'.")) 
  • pykota/trunk/bin/repykota

    r3356 r3360  
    9292    parser.add_option("-i", "--ingroups", 
    9393                            dest="ingroups", 
    94                             help=_("Only reports users who are members of the specified groups. This option is reserved to PyKota administrators.")) 
     94                            help=_("Only report users who are members of the specified groups. This option is reserved to PyKota administrators.")) 
    9595    parser.add_option("-P", "--printer", 
    9696                            dest="printer",