Changeset 2703

Show
Ignore:
Timestamp:
02/17/06 22:23:41 (19 years ago)
Author:
jerome
Message:

Updated pkusers' documentation.
Added pkusers' manual pages.

Location:
pykota/trunk
Files:
14 added
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pkusers

    r2701 r2703  
    113113examples :                               
    114114 
    115   TODO... 
     115  $ pkusers --add -p jerome john paul george ringo/ringo@example.com 
     116   
     117  This will add users john, paul, george and ringo to the quota 
     118  database, and set their account information based on user  
     119  jerome's own account. User jerome must already exist. 
     120  User ringo's email address will also be set to 'ringo@example.com' 
     121   
     122  $ pkusers --ingroups coders,it jerome 
     123   
     124  User jerome is put into the groups "coders" and "it" which must 
     125  already exist in the quota database. 
     126             
     127  $ pkusers --limitby balance jerome 
     128   
     129  This will tell PyKota to limit jerome by his account's balance 
     130  when printing. 
     131   
     132  $ pkusers --balance +10.0 jerome 
     133   
     134  This will increase jerome's account balance by 10.0 (in your 
     135  own currency). You can decrease the account balance with a 
     136  dash prefix, and set it to a fixed amount with no prefix. 
     137   
     138  $ pkusers --delete jerome rachel 
     139   
     140  This will completely delete jerome and rachel from the quota 
     141  database. All their quotas and jobs will be deleted too. 
     142   
     143  $ pkusers --overcharge 2.5 poorstudent 
     144   
     145  This will overcharge the poorstudent user by a factor of 2.5. 
     146   
     147  $ pkusers --overcharge -1 jerome 
     148   
     149  User jerome will actually earn money whenever he prints. 
     150   
     151  $ pkusers --overcharge 0 boss 
     152   
     153  User boss can print at will, it won't cost him anything because the 
     154  cost of each print job will be multiplied by zero before charging 
     155  his account. 
    116156""") 
    117157         
  • pykota/trunk/man/genman.sh

    r2667 r2703  
    1414# $Id$ 
    1515# 
    16 for prog in pkinvoice pkturnkey pkbcodes pkmail pkbanner autopykota dumpykota edpykota pykotme repykota warnpykota pkprinters pykosd ; do  
     16for prog in pkusers pkinvoice pkturnkey pkbcodes pkmail pkbanner autopykota dumpykota edpykota pykotme repykota warnpykota pkprinters pykosd ; do  
    1717    echo $prog ; 
    1818    help2man --no-info --section=1 --manual "User Commands" --source="C@LL - Conseil Internet & Logiciels Libres" --output=$prog.1 $prog ;