src/tools/py2sis/ensymble/cmd_version.py
changeset 0 ca70ae20a155
equal deleted inserted replaced
-1:000000000000 0:ca70ae20a155
       
     1 #!/usr/bin/env python
       
     2 # -*- coding: utf-8 -*-
       
     3 
       
     4 ##############################################################################
       
     5 # cmd_version.py - Ensymble command line tool, version query command
       
     6 # Copyright 2006, 2007, 2008, 2009 Jussi Ylänen
       
     7 #
       
     8 # This file is part of Ensymble developer utilities for Symbian OS(TM).
       
     9 #
       
    10 # Ensymble is free software; you can redistribute it and/or modify
       
    11 # it under the terms of the GNU General Public License as published by
       
    12 # the Free Software Foundation; either version 2 of the License, or
       
    13 # (at your option) any later version.
       
    14 #
       
    15 # Ensymble is distributed in the hope that it will be useful,
       
    16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    18 # GNU General Public License for more details.
       
    19 #
       
    20 # You should have received a copy of the GNU General Public License
       
    21 # along with Ensymble; if not, write to the Free Software
       
    22 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
       
    23 ##############################################################################
       
    24 
       
    25 
       
    26 ##############################################################################
       
    27 # Help texts
       
    28 ##############################################################################
       
    29 
       
    30 shorthelp = "Print Ensymble version"
       
    31 longhelp  = '''version
       
    32 
       
    33 Print Ensymble version.
       
    34 '''
       
    35 
       
    36 
       
    37 ##############################################################################
       
    38 # Public module-level functions
       
    39 ##############################################################################
       
    40 
       
    41 def run(pgmname, argv):
       
    42     print "Ensymble v0.28 2009-01-30"