Changeset 1579

Show
Ignore:
Timestamp:
06/29/04 09:55:18 (20 years ago)
Author:
jalet
Message:

Doesn't output the warning message when --help or --version is asked

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pkhint

    r1578 r1579  
    2424# 
    2525# $Log$ 
     26# Revision 1.13  2004/06/29 07:55:18  jalet 
     27# Doesn't output the warning message when --help or --version is asked 
     28# 
    2629# Revision 1.12  2004/06/29 07:53:11  jalet 
    2730# Improved pkhint 
     
    213216    def main(self, args, options) : 
    214217        """Main work is done here.""" 
     218        sys.stderr.write("BEWARE : This tool doesn't support LPRng's printcap files yet.\n") 
    215219        print "\nPlease wait while pkhint analyzes your printing system's configuration..." 
    216220        printers = self.extractPrintersInformation() 
     
    263267         
    264268if __name__ == "__main__" :  
    265     sys.stderr.write("BEWARE : This tool doesn't support LPRng's printcap files yet.\n") 
    266269    retcode = 0 
    267270    try :