From 4931b6b5fb693aefc166f53bdebdebdb81d9a2c3 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Wed, 10 Feb 2010 00:10:26 +0100 Subject: Add version Signed-off-by: Michael Buesch --- toprammer | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'toprammer') diff --git a/toprammer b/toprammer index 69f4fb2..2fd2a69 100755 --- a/toprammer +++ b/toprammer @@ -19,6 +19,10 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ +VERSION_MAJOR = 0 +VERSION_MINOR = 1 +VERSION = "%d.%d" % (VERSION_MAJOR, VERSION_MINOR) + from bitfile import * from util import * @@ -428,7 +432,7 @@ class TOP: self.commandQueue = [] def usage(): - print "TOP2049 Open Source programming suite" + print "TOP2049 Open Source programming suite v%s" % VERSION print "" print "Usage: %s [OPTIONS]" % sys.argv[0] print "" -- cgit v1.2.3