Changeset 261 for cleverbox/branches

Show
Ignore:
Timestamp:
02/23/08 13:14:22 (4 years ago)
Author:
trivoallan
Message:

cleverbox : Version is now displayed at startup, and in the 'help' command. Fixes #29

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cleverbox/branches/0.4/cleverbox/scripts/admin.py

    r260 r261  
    127127    def run(self): 
    128128        self.interactive = True 
    129         print 'Welcome to cleverbox-admin\n'                \ 
     129        print 'Welcome to cleverbox-admin v%s\n'                \ 
    130130              'Interactive Cleverbox administration console.\n'       \ 
    131               "Type:  '?' or 'help' for help on commands.\n" 
     131              "Type:  '?' or 'help' for help on commands.\n" % _version 
    132132        self.cmdloop() 
    133133 
     
    266266        else: 
    267267            docs = (self._help_client + self._help_project + self._help_initenv + self._help_upgrade) 
    268             print 'cleverbox-admin - The Cleverbox Administration Console' 
     268            print 'cleverbox-admin - The Cleverbox Administration Console v%s' % _version 
    269269            if not self.interactive: 
    270270                print