Changeset 32 for pkipplib/trunk/bin

Show
Ignore:
Timestamp:
06/24/06 15:31:05 (18 years ago)
Author:
jerome
Message:

Command renamed to pksubscribe.

Files:
1 moved

Legend:

Unmodified
Added
Removed
  • pkipplib/trunk/bin/pksubscribe

    r31 r32  
    2121# $Id$ 
    2222 
    23 """cupssubscribe is a command line tool which can be used to create 
     23"""pksubscribe is a command line tool which can be used to create 
    2424or delete IPP subscriptions.""" 
    2525 
     
    3737        sys.stderr.write("Problem while setting locale.\n") 
    3838    try : 
    39         gettext.install("cupssubscribe") 
     39        gettext.install("pksubscribe") 
    4040    except : 
    4141        gettext.NullTranslations().install() 
    42     parser = optparse.OptionParser(usage="cupssubscribe [options] [subscriptions ids]") 
     42    parser = optparse.OptionParser(usage="pksubscribe [options] [subscriptions ids]") 
    4343    parser.add_option("-v", "--version",  
    4444                            action="store_true",  
    4545                            dest="version", 
    46                             help=_("show cupssubscribe's version number and exit.")) 
     46                            help=_("show pksubscribe's version number and exit.")) 
    4747    parser.add_option("-c", "--cups",  
    4848                            default="http://localhost:631",  
     
    9999    (options, arguments) = parser.parse_args() 
    100100    if options.version : 
    101         print "cupssubscribe v%(__version__)s" % globals() 
     101        print "pksubscribe v%(__version__)s" % globals() 
    102102    else : 
    103103        if not options.events and not options.delete :