Cleaned up Usage() copyright info and added homepage information.
1 parent 0b25887 commit 39ca4aecd23c1ccf59655e1fac04b37a7733c569
@tundra tundra authored on 30 Jan 2010
Showing 1 changed file
View
13
tren.py
# Program Information
 
PROGNAME = "tren.py"
PROGENV = PROGNAME.split(".py")[0].upper()
RCSID = "$Id: tren.py,v 1.128 2010/01/30 19:48:27 tundra Exp $"
RCSID = "$Id: tren.py,v 1.129 2010/01/30 20:00:40 tundra Exp $"
VERSION = RCSID.split()[2]
 
# Copyright Information
 
CPRT = "(c)"
DATE = "2010"
OWNER = "TundraWare Inc."
COPYRIGHT = "Copyright %s %s, %s " % (CPRT, DATE, OWNER)
 
PROGVER = PROGNAME + " " + VERSION + (" - %s\n" % COPYRIGHT)
RIGHTS = "All Rights Reserved."
COPYRIGHT = "Copyright %s %s, %s %s" % (CPRT, DATE, OWNER, RIGHTS)
 
PROGVER = PROGNAME + " " + VERSION + (" - %s" % COPYRIGHT)
HOMEPAGE = "http://www.tundraware.com/Software/tren\n"
 
 
#----------------------------------------------------------#
# Variables User Might Change #
# Usage Prompts
#####
 
uTable = [PROGVER,
HOMEPAGE,
"usage: " + PROGNAME + " [-1abCcdEefghqtvwXx] [-I file] [-l string] [-r old=new]... file|dir file|dir ...",
" where,",
" -1 Rename only the first instance of the specified string (Default)",
" -a Rename within the entire file or directory name (Default)",